C# Class Tiraggo.Interfaces.tgDataRequest

Afficher le fichier Open project: BrewDawg/Tiraggo Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
FireOnError ( tgEntitySavePacket packet, string error ) : void

Called by the DataProviders to invoke the OnError event handler

Method Details

FireOnError() public méthode

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
Résultat void

Property Details

BulkSave public_oe property

public bool BulkSave
Résultat bool

BulkSaveOptions public_oe property

public string[] BulkSaveOptions
Résultat string[]

Caller public_oe property

public object Caller
Résultat object

Catalog public_oe property

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

CollectionSavePacket public_oe property

Used when saving a collection
public List CollectionSavePacket
Résultat List

Columns public_oe property

These are the columns from the generated Metadata class. These columns contain enough metadata to generate the dynamic sql.
public tgColumnMetadataCollection Columns
Résultat tgColumnMetadataCollection

CommandTimeout public_oe property

Optional, the command timeout as defined in the web.config or app.config file
public int? CommandTimeout
Résultat int?

ConnectionString public_oe property

The connection string to connect to the actual DBMS system
public string ConnectionString
Résultat string

ContinueUpdateOnError public_oe property

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

DataID public_oe property

Currently not used.
public Guid,System DataID
Résultat System.Guid

DatabaseVersion public_oe property

This is optional and typically for SQL Server it is either 2000 or 2005.
public string DatabaseVersion
Résultat string

DynamicQuery public_oe property

Automatically populated whenver you use the EntitySpaces dynamic query mechanism.
public tgDynamicQuerySerializable DynamicQuery
Résultat tgDynamicQuerySerializable

EntitySavePacket public_oe property

Used when a single entity is being saved
public tgEntitySavePacket,Tiraggo.Interfaces EntitySavePacket
Résultat tgEntitySavePacket

IgnoreComputedColumns public_oe property

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

ModifiedColumns public_oe property

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

Parameters public_oe property

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
Résultat tgParameters

Properties public_oe property

Transient data using during the SQL insert/update/delete process
public PropertyCollection,System.Data Properties
Résultat System.Data.PropertyCollection

ProviderMetadata public_oe property

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
Résultat tgProviderSpecificMetadata

QueryText public_oe property

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
Résultat string

QueryType public_oe property

The form of the query itself, see tgQueryType
public tgQueryType QueryType
Résultat tgQueryType

Schema public_oe property

The name of the Schema, for instance, in SQL Server this is typically "dbo".
public string Schema
Résultat string

SelectedColumns public_oe property

public Dictionary SelectedColumns
Résultat int>.Dictionary

SqlAccessType public_oe property

Whether to use Stored Procedures or Dynamic SQL
public tgSqlAccessType SqlAccessType
Résultat tgSqlAccessType

Table public_oe property

The DataTable containing only the changed rows to commit
public DataTable,System.Data Table
Résultat System.Data.DataTable