Property | Type | Description | |
---|---|---|---|
BoolDefAlias | string | ||
DefAlias1WithType1 | string | ||
DefAlias2WithType1 | string | ||
TypeAlias1 | string | ||
TypeAlias2 | string |
Method | Description | |
---|---|---|
CreateAttribute ( AttributeDefinition def, object value ) : TypedAttribute | ||
CreateAttributeDefinition ( string alias, string name, string description, AttributeType typeDef, |
||
CreateAttributeGroup ( string alias, string name, int ordinal, bool assignId = false ) : |
||
CreateAttributeType ( string alias, string name, string description, bool assignId = false ) : AttributeType | ||
CreateEntitySchema ( string alias, string name ) : EntitySchema | ||
CreateEntitySchema ( string alias, string name, bool assignId ) : EntitySchema | ||
CreateTypedEntity ( EntitySchema schema, TypedAttribute attribs, bool assignId = false ) : TypedEntity | ||
CreateVersionedTypedEntity ( EntitySchema schema, TypedAttribute attribs ) : Revision |
||
MockEntitySchema ( string testDoctypeAlias, string testDoctypeName ) : EntitySchema | ||
MockTypedEntity ( ) : TypedEntity | ||
MockTypedEntity ( HiveId id ) : TypedEntity | ||
MockTypedEntity ( bool assignIds ) : TypedEntity | ||
MockVersionedTypedEntity ( ) : Revision |
Create a typed persistence entity
|
|
MockVersionedTypedEntity ( bool assignIds ) : Revision |
Create a typed persistence entity
|
|
SetupTestContentData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
||
SetupTestData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
Method | Description | |
---|---|---|
CreateMockTypedEntityProperties ( bool assignIds, TypedAttribute[]>.Action |
Create some properties for a TypedEntity
|
public static CreateAttribute ( AttributeDefinition def, object value ) : TypedAttribute | ||
def | AttributeDefinition | |
value | object | |
return | TypedAttribute |
public static CreateAttributeDefinition ( string alias, string name, string description, AttributeType typeDef, |
||
alias | string | |
name | string | |
description | string | |
typeDef | AttributeType | |
groupDef | ||
assignId | bool | |
return | AttributeDefinition |
public static CreateAttributeGroup ( string alias, string name, int ordinal, bool assignId = false ) : |
||
alias | string | |
name | string | |
ordinal | int | |
assignId | bool | |
return |
public static CreateAttributeType ( string alias, string name, string description, bool assignId = false ) : AttributeType | ||
alias | string | |
name | string | |
description | string | |
assignId | bool | |
return | AttributeType |
public static CreateEntitySchema ( string alias, string name ) : EntitySchema | ||
alias | string | |
name | string | |
return | EntitySchema |
public static CreateEntitySchema ( string alias, string name, bool assignId ) : EntitySchema | ||
alias | string | |
name | string | |
assignId | bool | |
return | EntitySchema |
public static CreateTypedEntity ( EntitySchema schema, TypedAttribute attribs, bool assignId = false ) : TypedEntity | ||
schema | EntitySchema | |
attribs | TypedAttribute | |
assignId | bool | |
return | TypedEntity |
public static CreateVersionedTypedEntity ( EntitySchema schema, TypedAttribute attribs ) : Revision |
||
schema | EntitySchema | |
attribs | TypedAttribute | |
return | Revision |
public static MockEntitySchema ( string testDoctypeAlias, string testDoctypeName ) : EntitySchema | ||
testDoctypeAlias | string | |
testDoctypeName | string | |
return | EntitySchema |
public static MockTypedEntity ( ) : TypedEntity | ||
return | TypedEntity |
public static MockTypedEntity ( HiveId id ) : TypedEntity | ||
id | HiveId | |
return | TypedEntity |
public static MockTypedEntity ( bool assignIds ) : TypedEntity | ||
assignIds | bool | |
return | TypedEntity |
public static MockVersionedTypedEntity ( ) : Revision |
||
return | Revision |
public static MockVersionedTypedEntity ( bool assignIds ) : Revision |
||
assignIds | bool | whether or not to generate Ids for each entity |
return | Revision |
public static SetupTestContentData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
||
newGuid | System.Guid | |
newGuidRedHerring | System.Guid | |
providerSetup | ||
return | Content |
public static SetupTestData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
||
newGuid | System.Guid | |
newGuidRedHerring | System.Guid | |
providerSetup | ||
return | TypedEntity |