C# 클래스 Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.Foundation.SqlDataProviderStoreManipulator

파일 보기 프로젝트 열기: Orckestra/C1-CMS 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteNonQuery ( SqlCommand cmd ) : void
ExecuteNonQuery ( string commandText ) : void
ExecuteReader ( string commandText ) : DataTable
ExecuteStoredProcedure ( string spName, string spParams ) : void

비공개 메소드들

메소드 설명
AddLocale ( DataTypeDescriptor typeDescriptor, CultureInfo cultureInfo ) : void
AlterColumn ( string tableName, string columnInfo ) : void
AlterScopeData ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor, Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor, Composite.Data.DataScopeIdentifier dataScope ) : void
AlterStore ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor, Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor, Composite.Data.DataScopeIdentifier dataScope, CultureInfo culture ) : void
AlterStoresForType ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor ) : void
AppendFields ( string tableName, Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor, IEnumerable addedFieldDescriptions, object>.Dictionary defaultValues = null ) : void
ConfigureColumn ( string tableName, string columnName, Composite.Data.DynamicTypes.DataFieldDescriptor fieldDescriptor, Composite.Data.DynamicTypes.DataFieldDescriptor originalFieldDescriptor, bool changes ) : void
CreateColumn ( string tableName, Composite.Data.DynamicTypes.DataFieldDescriptor fieldDescriptor, object defaultValue = null ) : void
CreateIndex ( string tableName, Composite.Data.DynamicTypes.DataTypeIndex index ) : void
CreateScopeData ( DataTypeDescriptor typeDescriptor, Composite.Data.DataScopeIdentifier dataScope ) : void
CreateStore ( DataTypeDescriptor typeDescriptor, Composite.Data.DataScopeIdentifier dataScope, CultureInfo cultureInfo, Action existingTablesValidator = null ) : void
CreateStoresForType ( DataTypeDescriptor typeDescriptor, Action existingTablesValidator ) : void
DropConstraints ( string tableName, bool includingPrimaryKey ) : void
DropFields ( string tableName, IEnumerable fieldsToDrop, IEnumerable fields ) : void
DropIndex ( string tableName, Composite.Data.DynamicTypes.DataTypeIndex index ) : void
DropScopeData ( DataTypeDescriptor typeDescriptor, Composite.Data.DataScopeIdentifier dataScope ) : void
DropStore ( DataTypeDescriptor dataTypeDescriptor, Composite.Data.DataScopeIdentifier dataScope, CultureInfo cultureInfo ) : void
DropStoresForType ( string providerName, DataTypeDescriptor typeDescriptor ) : void
GeneratePrimaryKeyContraintName ( string tableName ) : string
GetColumnInfo ( string tableName, string columnName, Composite.Data.DynamicTypes.DataFieldDescriptor fieldDescriptor, bool includeDefault, bool forceNullable ) : string
GetCommonFields ( Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor ) : StringBuilder
GetConfiguredTableName ( DataTypeDescriptor dataTypeDescriptor, Composite.Data.DataScopeIdentifier dataScope, string cultureName ) : string
GetConstraints ( string tableName, string constraintType = null ) : IEnumerable
GetCultures ( DataTypeDescriptor typeDescriptor ) : IEnumerable
GetDefaultValueText ( Composite.Data.DynamicTypes.DefaultValue defaultValue ) : string
GetDefaultValueText ( StoreFieldType storeFieldType ) : string
GetIndexName ( Composite.Data.DynamicTypes.DataTypeIndex index ) : string
GetTablesList ( ) : List
HandleDisablingOfPublication ( Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor ) : void
HandleEnablingOfPublication ( Composite.Data.DynamicTypes.DataTypeChangeDescriptor changeDescriptor ) : void
ImplementFieldChanges ( string tableName, IEnumerable existingFieldDescription ) : void
IsPrimaryKeyContraint ( string contraintName ) : bool
MakeVerboseException ( Exception ex ) : Exception
RemoveLocale ( string providerName, DataTypeDescriptor typeDescriptor, CultureInfo cultureInfo ) : void
RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
RenameTable ( string oldTableName, string newTableName ) : void
SetDefaultValue ( string tableName, string columnName, Composite.Data.DynamicTypes.DefaultValue defaultValue ) : string
SetPrimaryKey ( string tableName, IEnumerable fieldNames, bool createAsClustered ) : string
SqlDataProviderStoreManipulator ( string connectionString, IEnumerable generatedInterfaces ) : System
SqlQuoted ( object obj ) : string
SqlQuoted ( string theString ) : string
SqlSafeName ( string prefix, string elementName ) : string
SqlSafeName ( string prefix, string parentName, string subName ) : string
TranslatesIntoDefaultConstraint ( Composite.Data.DynamicTypes.DefaultValue defaultValue ) : bool
TryNormalizeTypeFullName ( string typeName ) : string

메소드 상세

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( SqlCommand cmd ) : void
cmd System.Data.SqlClient.SqlCommand
리턴 void

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( string commandText ) : void
commandText string
리턴 void

ExecuteReader() 공개 메소드

public ExecuteReader ( string commandText ) : DataTable
commandText string
리턴 System.Data.DataTable

ExecuteStoredProcedure() 공개 메소드

public ExecuteStoredProcedure ( string spName, string spParams ) : void
spName string
spParams string
리턴 void