Свойство | Type | Description | |
---|---|---|---|
BoolDefAlias | string | ||
DefAlias1WithType1 | string | ||
DefAlias2WithType1 | string | ||
TypeAlias1 | string | ||
TypeAlias2 | string |
Méthode | 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, |
Méthode | Description | |
---|---|---|
CreateMockTypedEntityProperties ( bool assignIds, TypedAttribute[]>.Action |
Create some properties for a TypedEntity
|
public static CreateAttribute ( AttributeDefinition def, object value ) : TypedAttribute | ||
def | AttributeDefinition | |
value | object | |
Résultat | TypedAttribute |
public static CreateAttributeDefinition ( string alias, string name, string description, AttributeType typeDef, |
||
alias | string | |
name | string | |
description | string | |
typeDef | AttributeType | |
groupDef | ||
assignId | bool | |
Résultat | AttributeDefinition |
public static CreateAttributeGroup ( string alias, string name, int ordinal, bool assignId = false ) : |
||
alias | string | |
name | string | |
ordinal | int | |
assignId | bool | |
Résultat |
public static CreateAttributeType ( string alias, string name, string description, bool assignId = false ) : AttributeType | ||
alias | string | |
name | string | |
description | string | |
assignId | bool | |
Résultat | AttributeType |
public static CreateEntitySchema ( string alias, string name ) : EntitySchema | ||
alias | string | |
name | string | |
Résultat | EntitySchema |
public static CreateEntitySchema ( string alias, string name, bool assignId ) : EntitySchema | ||
alias | string | |
name | string | |
assignId | bool | |
Résultat | EntitySchema |
public static CreateTypedEntity ( EntitySchema schema, TypedAttribute attribs, bool assignId = false ) : TypedEntity | ||
schema | EntitySchema | |
attribs | TypedAttribute | |
assignId | bool | |
Résultat | TypedEntity |
public static CreateVersionedTypedEntity ( EntitySchema schema, TypedAttribute attribs ) : Revision |
||
schema | EntitySchema | |
attribs | TypedAttribute | |
Résultat | Revision |
public static MockEntitySchema ( string testDoctypeAlias, string testDoctypeName ) : EntitySchema | ||
testDoctypeAlias | string | |
testDoctypeName | string | |
Résultat | EntitySchema |
public static MockTypedEntity ( ) : TypedEntity | ||
Résultat | TypedEntity |
public static MockTypedEntity ( HiveId id ) : TypedEntity | ||
id | HiveId | |
Résultat | TypedEntity |
public static MockTypedEntity ( bool assignIds ) : TypedEntity | ||
assignIds | bool | |
Résultat | TypedEntity |
public static MockVersionedTypedEntity ( ) : Revision |
||
Résultat | Revision |
public static MockVersionedTypedEntity ( bool assignIds ) : Revision |
||
assignIds | bool | whether or not to generate Ids for each entity |
Résultat | Revision |
public static SetupTestContentData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
||
newGuid | System.Guid | |
newGuidRedHerring | System.Guid | |
providerSetup | ||
Résultat | Content |
public static SetupTestData ( System.Guid newGuid, System.Guid newGuidRedHerring, |
||
newGuid | System.Guid | |
newGuidRedHerring | System.Guid | |
providerSetup | ||
Résultat | TypedEntity |
public static string DefAlias1WithType1 | ||
Résultat | string |
public static string DefAlias2WithType1 | ||
Résultat | string |