Class
RepositoryResourceMapping

Definition

Namespace:ArtOfTest.WebAii.Design.Repository

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class RepositoryResourceMapping : IRepositoryResourceMapping

Inheritance: objectRepositoryResourceMapping

Implements: IRepositoryResourceMapping

Constructors

RepositoryResourceMapping()

Declaration

cs-api-definition
public RepositoryResourceMapping()

Methods

GetCollectionName(Type)

Gets the storage collection name mapped to this type

Declaration

cs-api-definition
public string GetCollectionName(Type type)

Parameters

type

Type

Returns

string

Implements IRepositoryResourceMapping.GetCollectionName(Type)

GetSchema(Type)

when using smaller objects to query certain fields, we need to use the original type's schema i.e. when using ProjectNameTransport, we need to query on Project's schema

Declaration

cs-api-definition
public string GetSchema(Type type)

Parameters

type

Type

Returns

string

Implements IRepositoryResourceMapping.GetSchema(Type)

IsSpecialSerializerRequired(Type)

Does this type require a type serializer or not

Declaration

cs-api-definition
public bool IsSpecialSerializerRequired(Type type)

Parameters

type

Type

Returns

bool

Implements IRepositoryResourceMapping.IsSpecialSerializerRequired(Type)