C# 클래스 Rock.Migrations.RockMigration1

Custom Migration methods
상속: DbMigration
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
AddAttributeValue ( string attributeGuid, int entityId, string value, string guid ) : void

Adds the attribute value.

AddBlock ( string pageGuid, string layoutGuid, string blockTypeGuid, string name, string zone, int order, string guid ) : void

Adds the block.

AddBlockAttributeValue ( string blockGuid, string attributeGuid, string value ) : void

Adds the block attribute value.

AddBlockType ( string name, string description, string path, string guid ) : void

Adds the type of the block.

AddBlockTypeAttribute ( string blockTypeGuid, string fieldTypeGuid, string name, string key, string category, string description, int order, string defaultValue, string guid ) : void

Adds the block attribute.

AddDefinedType ( string category, string name, string description, string guid ) : void

Adds the type of the defined.

AddDefinedValue ( string definedTypeGuid, string name, string description, string guid, bool isSystem = true ) : void

Adds the defined value.

AddEntityAttribute ( string entityTypeName, string fieldTypeGuid, string entityTypeQualifierColumn, string entityTypeQualifierValue, string name, string category, string description, int order, string defaultValue, string guid ) : void

Adds the entity attribute.

AddGlobalAttribute ( string fieldTypeGuid, string entityTypeQualifierColumn, string entityTypeQualifierValue, string name, string description, int order, string defaultValue, string guid ) : void

Adds a global attribute.

AddLayout ( string siteGuid, string fileName, string name, string description, string guid ) : void

Adds the Layout.

AddPage ( string parentPageGuid, string layoutGuid, string name, string description, string guid, string iconCssClass = "" ) : void

Adds the page.

AddPageContext ( string pageGuid, string entity, string idParameter ) : void

Adds the page context.

AddPageRoute ( string pageGuid, string route ) : void

Adds the page route.

AddSecurityAuth ( string entityTypeName, string action, string groupGuid, string authGuid ) : void

Adds the security auth.

AddSecurityRoleGroup ( string name, string description, string guid ) : void

Adds the security role group.

DeleteAttribute ( string guid ) : void

Deletes the attribute.

DeleteBlock ( string guid ) : void

Deletes the block.

DeleteBlockAttribute ( string guid ) : void

Deletes the block attribute.

DeleteBlockAttributeValue ( string blockGuid, string attributeGuid ) : void

Deletes the block attribute value.

DeleteBlockType ( string guid ) : void

Deletes the type of the block.

DeleteDefinedType ( string guid ) : void

Deletes the type of the defined.

DeleteDefinedValue ( string guid ) : void

Deletes the defined value.

DeleteEntityType ( string guid ) : void

Deletes the type of the entity.

DeleteFieldType ( string guid ) : void

Deletes the type of the field.

DeleteLayout ( string guid ) : void

Deletes the page.

DeletePage ( string guid ) : void

Deletes the page.

DeleteSecurityAuth ( string guid ) : void

Deletes the security auth.

DeleteSecurityRoleGroup ( string guid ) : void

Deletes the security role group.

MovePage ( string pageGuid, string parentPageGuid ) : void

Moves the page.

SqlFile ( string sqlFile ) : void

Runs the SQL found in a file.

UpdateEntityType ( string name, string guid, bool isEntity, bool isSecured ) : void

Updates the type of the entity.

UpdateEntityType ( string name, string friendlyName, string assemblyName, bool isEntity, bool isSecured, string guid ) : void

Updates the type of the entity.

UpdateFieldType ( string name, string description, string assembly, string className, string guid, bool IsSystem = true ) : void

Updates the type of the field.

비공개 메소드들

메소드 설명
EfMapPath ( string seedFile ) : string

Efs the map path.

EnsureEntityTypeExists ( string entityTypeName ) : void

Ensures the entity type exists.

메소드 상세

AddAttributeValue() 공개 메소드

Adds the attribute value.
public AddAttributeValue ( string attributeGuid, int entityId, string value, string guid ) : void
attributeGuid string The attribute GUID.
entityId int The entity id.
value string The value.
guid string The GUID.
리턴 void

AddBlock() 공개 메소드

Adds the block.
public AddBlock ( string pageGuid, string layoutGuid, string blockTypeGuid, string name, string zone, int order, string guid ) : void
pageGuid string The page GUID.
layoutGuid string The layout GUID.
blockTypeGuid string The block type GUID.
name string The name.
zone string The zone.
order int The order.
guid string The GUID.
리턴 void

AddBlockAttributeValue() 공개 메소드

Adds the block attribute value.
public AddBlockAttributeValue ( string blockGuid, string attributeGuid, string value ) : void
blockGuid string The block GUID.
attributeGuid string The attribute GUID.
value string The value.
리턴 void

AddBlockType() 공개 메소드

Adds the type of the block.
public AddBlockType ( string name, string description, string path, string guid ) : void
name string The name.
description string The description.
path string The path.
guid string The GUID.
리턴 void

AddBlockTypeAttribute() 공개 메소드

Adds the block attribute.
public AddBlockTypeAttribute ( string blockTypeGuid, string fieldTypeGuid, string name, string key, string category, string description, int order, string defaultValue, string guid ) : void
blockTypeGuid string The block GUID.
fieldTypeGuid string The field type GUID.
name string The name.
key string The key.
category string The category.
description string The description.
order int The order.
defaultValue string The default value.
guid string The GUID.
리턴 void

AddDefinedType() 공개 메소드

Adds the type of the defined.
public AddDefinedType ( string category, string name, string description, string guid ) : void
category string The category.
name string The name.
description string The description.
guid string The GUID.
리턴 void

AddDefinedValue() 공개 메소드

Adds the defined value.
public AddDefinedValue ( string definedTypeGuid, string name, string description, string guid, bool isSystem = true ) : void
definedTypeGuid string The defined type GUID.
name string The name.
description string The description.
guid string The GUID.
isSystem bool if set to true [is system].
리턴 void

AddEntityAttribute() 공개 메소드

Adds the entity attribute.
public AddEntityAttribute ( string entityTypeName, string fieldTypeGuid, string entityTypeQualifierColumn, string entityTypeQualifierValue, string name, string category, string description, int order, string defaultValue, string guid ) : void
entityTypeName string Name of the entity type.
fieldTypeGuid string The field type GUID.
entityTypeQualifierColumn string The entity type qualifier column.
entityTypeQualifierValue string The entity type qualifier value.
name string The name.
category string The category.
description string The description.
order int The order.
defaultValue string The default value.
guid string The GUID.
리턴 void

AddGlobalAttribute() 공개 메소드

Adds a global attribute.
public AddGlobalAttribute ( string fieldTypeGuid, string entityTypeQualifierColumn, string entityTypeQualifierValue, string name, string description, int order, string defaultValue, string guid ) : void
fieldTypeGuid string The field type GUID.
entityTypeQualifierColumn string The entity type qualifier column.
entityTypeQualifierValue string The entity type qualifier value.
name string The name.
description string The description.
order int The order.
defaultValue string The default value.
guid string The GUID.
리턴 void

AddLayout() 공개 메소드

Adds the Layout.
public AddLayout ( string siteGuid, string fileName, string name, string description, string guid ) : void
siteGuid string The site GUID.
fileName string Name of the file.
name string The name.
description string The description.
guid string The GUID.
리턴 void

AddPage() 공개 메소드

Adds the page.
public AddPage ( string parentPageGuid, string layoutGuid, string name, string description, string guid, string iconCssClass = "" ) : void
parentPageGuid string The parent page GUID.
layoutGuid string The layout GUID.
name string The name.
description string The description.
guid string The GUID.
iconCssClass string The icon CSS class.
리턴 void

AddPageContext() 공개 메소드

Adds the page context.
public AddPageContext ( string pageGuid, string entity, string idParameter ) : void
pageGuid string The page GUID.
entity string The entity.
idParameter string The id parameter.
리턴 void

AddPageRoute() 공개 메소드

Adds the page route.
public AddPageRoute ( string pageGuid, string route ) : void
pageGuid string The page GUID.
route string The route.
리턴 void

AddSecurityAuth() 공개 메소드

Adds the security auth.
public AddSecurityAuth ( string entityTypeName, string action, string groupGuid, string authGuid ) : void
entityTypeName string Name of the entity type.
action string The action.
groupGuid string The group GUID.
authGuid string The auth GUID.
리턴 void

AddSecurityRoleGroup() 공개 메소드

Adds the security role group.
public AddSecurityRoleGroup ( string name, string description, string guid ) : void
name string The name.
description string The description.
guid string The GUID.
리턴 void

DeleteAttribute() 공개 메소드

Deletes the attribute.
public DeleteAttribute ( string guid ) : void
guid string The GUID.
리턴 void

DeleteBlock() 공개 메소드

Deletes the block.
public DeleteBlock ( string guid ) : void
guid string The GUID.
리턴 void

DeleteBlockAttribute() 공개 메소드

Deletes the block attribute.
public DeleteBlockAttribute ( string guid ) : void
guid string The GUID.
리턴 void

DeleteBlockAttributeValue() 공개 메소드

Deletes the block attribute value.
public DeleteBlockAttributeValue ( string blockGuid, string attributeGuid ) : void
blockGuid string The block GUID.
attributeGuid string The attribute GUID.
리턴 void

DeleteBlockType() 공개 메소드

Deletes the type of the block.
public DeleteBlockType ( string guid ) : void
guid string The GUID.
리턴 void

DeleteDefinedType() 공개 메소드

Deletes the type of the defined.
public DeleteDefinedType ( string guid ) : void
guid string The GUID.
리턴 void

DeleteDefinedValue() 공개 메소드

Deletes the defined value.
public DeleteDefinedValue ( string guid ) : void
guid string The GUID.
리턴 void

DeleteEntityType() 공개 메소드

Deletes the type of the entity.
public DeleteEntityType ( string guid ) : void
guid string The GUID.
리턴 void

DeleteFieldType() 공개 메소드

Deletes the type of the field.
public DeleteFieldType ( string guid ) : void
guid string The GUID.
리턴 void

DeleteLayout() 공개 메소드

Deletes the page.
public DeleteLayout ( string guid ) : void
guid string The GUID.
리턴 void

DeletePage() 공개 메소드

Deletes the page.
public DeletePage ( string guid ) : void
guid string The GUID.
리턴 void

DeleteSecurityAuth() 공개 메소드

Deletes the security auth.
public DeleteSecurityAuth ( string guid ) : void
guid string The GUID.
리턴 void

DeleteSecurityRoleGroup() 공개 메소드

Deletes the security role group.
public DeleteSecurityRoleGroup ( string guid ) : void
guid string The GUID.
리턴 void

MovePage() 공개 메소드

Moves the page.
public MovePage ( string pageGuid, string parentPageGuid ) : void
pageGuid string The page GUID.
parentPageGuid string The parent page GUID.
리턴 void

SqlFile() 공개 메소드

Runs the SQL found in a file.
public SqlFile ( string sqlFile ) : void
sqlFile string The file the SQL can be found it relative to the application path.
리턴 void

UpdateEntityType() 공개 메소드

Updates the type of the entity.
public UpdateEntityType ( string name, string guid, bool isEntity, bool isSecured ) : void
name string The name.
guid string The GUID.
isEntity bool if set to true [is entity].
isSecured bool if set to true [is secured].
리턴 void

UpdateEntityType() 공개 메소드

Updates the type of the entity.
public UpdateEntityType ( string name, string friendlyName, string assemblyName, bool isEntity, bool isSecured, string guid ) : void
name string The name.
friendlyName string Name of the friendly.
assemblyName string Name of the assembly.
isEntity bool if set to true [is entity].
isSecured bool if set to true [is secured].
guid string The GUID.
리턴 void

UpdateFieldType() 공개 메소드

Updates the type of the field.
public UpdateFieldType ( string name, string description, string assembly, string className, string guid, bool IsSystem = true ) : void
name string The name.
description string The description.
assembly string The assembly.
className string Name of the class.
guid string The GUID.
IsSystem bool if set to true [is system].
리턴 void