Class DbSql
Inheritance
System.Object
DbSql
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pandv.DataAccess
Assembly: cs.temp.dll.dll
Syntax
public class DbSql
Properties
CommandName
Declaration
public string CommandName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionName
Declaration
public string ConnectionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionString
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timeout
Declaration
public int Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Declaration
public CommandType Type { get; set; }
Property Value
Type | Description |
---|---|
CommandType |
Methods
Clone()
Declaration
public DbSql Clone()
Returns
Type | Description |
---|---|
DbSql |
ToCommandDefinition(Object, IDbTransaction, CommandFlags, CancellationToken)
Declaration
public CommandDefinition ToCommandDefinition(object parameters, IDbTransaction transaction = null, CommandFlags flags = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameters | |
IDbTransaction | transaction | |
CommandFlags | flags | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
CommandDefinition |