C# 클래스 SenseNet.ContentRepository.Storage.Data.SqlClient.SqlSchemaWriter

상속: SenseNet.ContentRepository.Storage.Schema.SchemaWriter
파일 보기 프로젝트 열기: maxpavlov/FlexNet

공개 메소드들

메소드 설명
AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner, bool isDeclared ) : void
Close ( ) : void
CreateContentListType ( string name ) : void
CreateNodeType ( NodeType parent, string name, string className ) : void
CreatePermissionType ( string name ) : void
CreatePropertyType ( string name, DataType dataType, int mapping, bool isContentListProperty ) : void
DeleteContentListType ( ContentListType contentListType ) : void
DeleteNodeType ( NodeType nodeType ) : void
DeletePermissionType ( PermissionType permissionType ) : void
DeletePropertyType ( PropertyType propertyType ) : void
ModifyNodeType ( NodeType nodeType, NodeType parent, string className ) : void
Open ( ) : void
RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void
SqlSchemaWriter ( ) : System
UpdatePropertyTypeDeclarationState ( PropertyType propertyType, NodeType owner, bool isDeclared ) : void

비공개 메소드들

메소드 설명
AddScript ( StringBuilder sb ) : void
CreateCommentLine ( ) : string
DeclareIntVariable ( StringBuilder scriptBuilder, string name ) : void
ExecuteScripts ( List scripts ) : void
GetSqlScript ( ) : string
WriteDeletePropertyScript ( StringBuilder scriptBuilder, int nodeTypeId, int propertyTypeId, string tableName, string tableIdColumn, string comment ) : void
WriteInsertScript ( StringBuilder scriptBuilder, string tableName, string comment ) : void
WriteResetPropertyScript ( StringBuilder scriptBuilder, PropertySet nodeType, PropertyType slot ) : void
WriteResetPropertySlotScript ( StringBuilder scriptBuilder, int nodeTypeId, int mapping, string columnPrefix, int mappingPageSize, string comment ) : void
WriteSlotsToResetScripts ( StringBuilder scriptBuilder, Dictionary slotsToReset ) : void
WriteUpdateScript ( StringBuilder scriptBuilder, string tableName, string whereClause, string comment ) : void

메소드 상세

AddPropertyTypeToPropertySet() 공개 메소드

public AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner, bool isDeclared ) : void
propertyType SenseNet.ContentRepository.Storage.Schema.PropertyType
owner SenseNet.ContentRepository.Storage.Schema.PropertySet
isDeclared bool
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

CreateContentListType() 공개 메소드

public CreateContentListType ( string name ) : void
name string
리턴 void

CreateNodeType() 공개 메소드

public CreateNodeType ( NodeType parent, string name, string className ) : void
parent SenseNet.ContentRepository.Storage.Schema.NodeType
name string
className string
리턴 void

CreatePermissionType() 공개 메소드

public CreatePermissionType ( string name ) : void
name string
리턴 void

CreatePropertyType() 공개 메소드

public CreatePropertyType ( string name, DataType dataType, int mapping, bool isContentListProperty ) : void
name string
dataType DataType
mapping int
isContentListProperty bool
리턴 void

DeleteContentListType() 공개 메소드

public DeleteContentListType ( ContentListType contentListType ) : void
contentListType SenseNet.ContentRepository.Storage.Schema.ContentListType
리턴 void

DeleteNodeType() 공개 메소드

public DeleteNodeType ( NodeType nodeType ) : void
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
리턴 void

DeletePermissionType() 공개 메소드

public DeletePermissionType ( PermissionType permissionType ) : void
permissionType SenseNet.ContentRepository.Storage.Schema.PermissionType
리턴 void

DeletePropertyType() 공개 메소드

public DeletePropertyType ( PropertyType propertyType ) : void
propertyType SenseNet.ContentRepository.Storage.Schema.PropertyType
리턴 void

ModifyNodeType() 공개 메소드

public ModifyNodeType ( NodeType nodeType, NodeType parent, string className ) : void
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
parent SenseNet.ContentRepository.Storage.Schema.NodeType
className string
리턴 void

Open() 공개 메소드

public Open ( ) : void
리턴 void

RemovePropertyTypeFromPropertySet() 공개 메소드

public RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void
propertyType SenseNet.ContentRepository.Storage.Schema.PropertyType
owner SenseNet.ContentRepository.Storage.Schema.PropertySet
리턴 void

SqlSchemaWriter() 공개 메소드

public SqlSchemaWriter ( ) : System
리턴 System

UpdatePropertyTypeDeclarationState() 공개 메소드

public UpdatePropertyTypeDeclarationState ( PropertyType propertyType, NodeType owner, bool isDeclared ) : void
propertyType SenseNet.ContentRepository.Storage.Schema.PropertyType
owner SenseNet.ContentRepository.Storage.Schema.NodeType
isDeclared bool
리턴 void