C# Class CodeInsiders.SharpQL.SharpQuery

Inheritance: SharpBatch
Mostrar archivo Open project: codeinsiders/sharpql

Public Methods

Method Description
CreateCommand ( DbConnection connection, Action factory = null ) : DbCommand

Protected Methods

Method Description
GetParametersFromModel ( object model ) : object>.Dictionary
ReadResourceAsString ( string resourceName ) : string
WriteScript ( string scriptName, object model = null ) : void

Method Details

CreateCommand() public method

public CreateCommand ( DbConnection connection, Action factory = null ) : DbCommand
connection System.Data.Common.DbConnection
factory Action
return System.Data.Common.DbCommand

GetParametersFromModel() protected method

protected GetParametersFromModel ( object model ) : object>.Dictionary
model object
return object>.Dictionary

ReadResourceAsString() protected method

protected ReadResourceAsString ( string resourceName ) : string
resourceName string
return string

WriteScript() protected method

protected WriteScript ( string scriptName, object model = null ) : void
scriptName string
model object
return void