C# 클래스 Tiraggo.Interfaces.tgDataRequest

파일 보기 프로젝트 열기: BrewDawg/Tiraggo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BulkSave bool
BulkSaveOptions string[]
Caller object
Catalog string
CollectionSavePacket List
Columns tgColumnMetadataCollection
CommandTimeout int?
ConnectionString string
ContinueUpdateOnError bool
DataID System.Guid
DatabaseVersion string
DynamicQuery tgDynamicQuerySerializable
EntitySavePacket tgEntitySavePacket
IgnoreComputedColumns bool
ModifiedColumns List>
Parameters tgParameters
Properties System.Data.PropertyCollection
ProviderMetadata tgProviderSpecificMetadata
QueryText string
QueryType tgQueryType
Schema string
SelectedColumns int>.Dictionary
SqlAccessType tgSqlAccessType
Table System.Data.DataTable

공개 메소드들

메소드 설명
FireOnError ( tgEntitySavePacket packet, string error ) : void

Called by the DataProviders to invoke the OnError event handler

메소드 상세

FireOnError() 공개 메소드

Called by the DataProviders to invoke the OnError event handler
public FireOnError ( tgEntitySavePacket packet, string error ) : void
packet tgEntitySavePacket The esEntityPacket in error
error string
리턴 void

프로퍼티 상세

BulkSave 공개적으로 프로퍼티

public bool BulkSave
리턴 bool

BulkSaveOptions 공개적으로 프로퍼티

public string[] BulkSaveOptions
리턴 string[]

Caller 공개적으로 프로퍼티

public object Caller
리턴 object

Catalog 공개적으로 프로퍼티

The name of the catalog, for instance, in SQL Server this could be "Northwind".
public string Catalog
리턴 string

CollectionSavePacket 공개적으로 프로퍼티

Used when saving a collection
public List CollectionSavePacket
리턴 List

Columns 공개적으로 프로퍼티

These are the columns from the generated Metadata class. These columns contain enough metadata to generate the dynamic sql.
public tgColumnMetadataCollection Columns
리턴 tgColumnMetadataCollection

CommandTimeout 공개적으로 프로퍼티

Optional, the command timeout as defined in the web.config or app.config file
public int? CommandTimeout
리턴 int?

ConnectionString 공개적으로 프로퍼티

The connection string to connect to the actual DBMS system
public string ConnectionString
리턴 string

ContinueUpdateOnError 공개적으로 프로퍼티

This is used during the Saving of a collection, if true, exceptions do not prevent successful records from being saved.
public bool ContinueUpdateOnError
리턴 bool

DataID 공개적으로 프로퍼티

Currently not used.
public Guid,System DataID
리턴 System.Guid

DatabaseVersion 공개적으로 프로퍼티

This is optional and typically for SQL Server it is either 2000 or 2005.
public string DatabaseVersion
리턴 string

DynamicQuery 공개적으로 프로퍼티

Automatically populated whenver you use the EntitySpaces dynamic query mechanism.
public tgDynamicQuerySerializable DynamicQuery
리턴 tgDynamicQuerySerializable

EntitySavePacket 공개적으로 프로퍼티

Used when a single entity is being saved
public tgEntitySavePacket,Tiraggo.Interfaces EntitySavePacket
리턴 tgEntitySavePacket

IgnoreComputedColumns 공개적으로 프로퍼티

Set to true by tgEntityCollection.SaveAndDiscard() so it doesn't bother returning indentity column values, timestamps, or other computed columns.
public bool IgnoreComputedColumns
리턴 bool

ModifiedColumns 공개적으로 프로퍼티

A List of Lists, each nested list contains the modified columns for each DataRow contained in the DataTable
public List> ModifiedColumns
리턴 List>

Parameters 공개적으로 프로퍼티

The parameters if any required to carry out the command. Remember, do not tack on decorators such as @ or ? on the front of your parameters, the EntitySpaces DataProviders do that for you so you can write provider independent queries.
public tgParameters,Tiraggo.Interfaces Parameters
리턴 tgParameters

Properties 공개적으로 프로퍼티

Transient data using during the SQL insert/update/delete process
public PropertyCollection,System.Data Properties
리턴 System.Data.PropertyCollection

ProviderMetadata 공개적으로 프로퍼티

This contains metadata that may be specific to an EntitySpaces DataProvider. The data in this property is driven by the "providerMetadataKey" in the config file. This allows stored procedure names, for instance, to have different names on different databases and yet the esEntity and tgEntityCollection objects are oblivious to that fact.
public tgProviderSpecificMetadata,Tiraggo.Interfaces ProviderMetadata
리턴 tgProviderSpecificMetadata

QueryText 공개적으로 프로퍼티

Depending on what the value of tgQueryType is, this could be the actual name of a stored procedure, DBMS function, raw text, or whatever else is possible.
public string QueryText
리턴 string

QueryType 공개적으로 프로퍼티

The form of the query itself, see tgQueryType
public tgQueryType QueryType
리턴 tgQueryType

Schema 공개적으로 프로퍼티

The name of the Schema, for instance, in SQL Server this is typically "dbo".
public string Schema
리턴 string

SelectedColumns 공개적으로 프로퍼티

public Dictionary SelectedColumns
리턴 int>.Dictionary

SqlAccessType 공개적으로 프로퍼티

Whether to use Stored Procedures or Dynamic SQL
public tgSqlAccessType SqlAccessType
리턴 tgSqlAccessType

Table 공개적으로 프로퍼티

The DataTable containing only the changed rows to commit
public DataTable,System.Data Table
리턴 System.Data.DataTable