C# Class Tiraggo.SybaseSqlAnywhereProvider.Shared

显示文件 Open project: BrewDawg/Tiraggo

Public Methods

Method Description
AddParameters ( SACommand cmd, tgDataRequest request ) : void
BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : SACommand
BuildDynamicInsertCommand ( tgDataRequest request, List modifiedColumns ) : SACommand
BuildDynamicUpdateCommand ( tgDataRequest request, List modifiedColumns ) : SACommand
BuildStoredProcDeleteCommand ( tgDataRequest request ) : SACommand
BuildStoredProcInsertCommand ( tgDataRequest request ) : SACommand
BuildStoredProcUpdateCommand ( tgDataRequest request ) : SACommand
CheckForConcurrencyException ( SAException ex ) : tgConcurrencyException
CreateFullName ( tgDataRequest request ) : string
CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
CreateFullSPName ( tgDataRequest request, string spName ) : string
GatherReturnParameters ( SACommand cmd, tgDataRequest request, tgDataResponse response ) : void
HasUpdate ( DataRow row, bool &insert, bool &update, bool &delete ) : bool
HasUpdates ( System.Data.DataRowCollection rows, bool &insert, bool &update, bool &delete ) : bool
PopulateStoredProcParameters ( SACommand cmd, tgDataRequest request ) : void

Private Methods

Method Description
CloneParameter ( SAParameter p ) : SAParameter

Method Details

AddParameters() public static method

public static AddParameters ( SACommand cmd, tgDataRequest request ) : void
cmd SACommand
request Tiraggo.Interfaces.tgDataRequest
return void

BuildDynamicDeleteCommand() public static method

public static BuildDynamicDeleteCommand ( tgDataRequest request, tgEntitySavePacket packet ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
packet Tiraggo.Interfaces.tgEntitySavePacket
return SACommand

BuildDynamicInsertCommand() public static method

public static BuildDynamicInsertCommand ( tgDataRequest request, List modifiedColumns ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
modifiedColumns List
return SACommand

BuildDynamicUpdateCommand() public static method

public static BuildDynamicUpdateCommand ( tgDataRequest request, List modifiedColumns ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
modifiedColumns List
return SACommand

BuildStoredProcDeleteCommand() public static method

public static BuildStoredProcDeleteCommand ( tgDataRequest request ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
return SACommand

BuildStoredProcInsertCommand() public static method

public static BuildStoredProcInsertCommand ( tgDataRequest request ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
return SACommand

BuildStoredProcUpdateCommand() public static method

public static BuildStoredProcUpdateCommand ( tgDataRequest request ) : SACommand
request Tiraggo.Interfaces.tgDataRequest
return SACommand

CheckForConcurrencyException() public static method

public static CheckForConcurrencyException ( SAException ex ) : tgConcurrencyException
ex SAException
return tgConcurrencyException

CreateFullName() public static method

public static CreateFullName ( tgDataRequest request ) : string
request Tiraggo.Interfaces.tgDataRequest
return string

CreateFullName() public static method

public static CreateFullName ( tgDataRequest request, tgDynamicQuerySerializable query ) : string
request Tiraggo.Interfaces.tgDataRequest
query tgDynamicQuerySerializable
return string

CreateFullSPName() public static method

public static CreateFullSPName ( tgDataRequest request, string spName ) : string
request Tiraggo.Interfaces.tgDataRequest
spName string
return string

GatherReturnParameters() public static method

public static GatherReturnParameters ( SACommand cmd, tgDataRequest request, tgDataResponse response ) : void
cmd SACommand
request Tiraggo.Interfaces.tgDataRequest
response Tiraggo.Interfaces.tgDataResponse
return void

HasUpdate() public static method

public static HasUpdate ( DataRow row, bool &insert, bool &update, bool &delete ) : bool
row System.Data.DataRow
insert bool
update bool
delete bool
return bool

HasUpdates() public static method

public static HasUpdates ( System.Data.DataRowCollection rows, bool &insert, bool &update, bool &delete ) : bool
rows System.Data.DataRowCollection
insert bool
update bool
delete bool
return bool

PopulateStoredProcParameters() public static method

public static PopulateStoredProcParameters ( SACommand cmd, tgDataRequest request ) : void
cmd SACommand
request Tiraggo.Interfaces.tgDataRequest
return void