ClassPersistentClassesRegistry
Definition
Namespace:Telerik.OpenAccess.RT
Assembly:Telerik.OpenAccess.dll
Syntax:
public sealed class PersistentClassesRegistry
Inheritance: objectPersistentClassesRegistry
Properties
Version
Declaration
public static short Version { get; }
Property Value
short
Methods
CheckLicense(Dictionary<Assembly, int>)
Declaration
public static bool CheckLicense(Dictionary<Assembly, int> search)
Parameters
search
Dictionary<Assembly, int>
Returns
bool
GetAllFields(Type)
Declaration
public PersistentClassesRegistry.RegistryFieldInfo[] GetAllFields(Type pcClass)
Parameters
pcClass
Type
Returns
GetAllFieldsAsMemberInfo(Type)
Declaration
public MemberInfo[] GetAllFieldsAsMemberInfo(Type pcClass)
Parameters
pcClass
Type
Returns
MemberInfo[]
GetAllFieldsRolledout(Type)
Declaration
public PersistentClassesRegistry.RegistryFieldInfo[] GetAllFieldsRolledout(Type pcClass)
Parameters
pcClass
Type
Returns
GetCreatorInstance(Type)
Declaration
public static PersistenceCapable GetCreatorInstance(Type pcClass)
Parameters
pcClass
Type
Returns
GetFields(Type)
Declaration
public PersistentClassesRegistry.RegistryFieldInfo[] GetFields(Type pcClass)
Parameters
pcClass
Type
Returns
GetInfo(Type)
Declaration
public static PersistentClassesRegistry.IEnhancedClassInfo GetInfo(Type type)
Parameters
type
Type
Returns
GetModelVersion(Type)
Declaration
public static int GetModelVersion(Type t)
Parameters
t
Type
Returns
int
GetPersistenceCapableType(string)
Declaration
public static Type GetPersistenceCapableType(string name)
Parameters
name
string
Returns
Type
GetPropertyName(Type, string)
Declaration
public string GetPropertyName(Type type, string name)
Parameters
type
Type
name
string
Returns
string
HasCompositeKeys(Type)
Declaration
public static bool HasCompositeKeys(Type t)
Parameters
t
Type
Returns
bool
IsPersistenceCapable(Type)
Declaration
public static bool IsPersistenceCapable(Type ty)
Parameters
ty
Type
Returns
bool
IsPersistentField(Type, string)
Declaration
public static bool IsPersistentField(Type type, string name)
Parameters
type
Type
name
string
Returns
bool
IsPersistentRegistered(Type, bool)
Declaration
public static bool IsPersistentRegistered(Type pcClass, bool complain)
Parameters
pcClass
Type
complain
bool
Returns
bool
RegisterAssembly(Type[])
Declaration
public static void RegisterAssembly(Type[] types)
Parameters
types
Type[]
RegisterType(Type, Type, RegistryFieldInfo[], Type, CreateInstance)
Declaration
public static void RegisterType(Type _pcClass, Type idType, PersistentClassesRegistry.RegistryFieldInfo[] _fields, Type _persistenceCapableSuperType, PersistentClassesRegistry.CreateInstance createDelegate)
Parameters
_pcClass
Type
idType
Type
_fields
_persistenceCapableSuperType
Type
createDelegate
ResolveAlias(string)
Declaration
public static string ResolveAlias(string aliasOrRealName)
Parameters
aliasOrRealName
string
Returns
string
checkAuthorizedStateManager(StateManager)
Declaration
public static void checkAuthorizedStateManager(StateManager sm)
Parameters
sm
getInstance()
Declaration
public static PersistentClassesRegistry getInstance()
Returns
newInstance(Type, StateManager)
Declaration
public PersistenceCapable newInstance(Type pcClass, StateManager sm)
Parameters
pcClass
Type
sm
Returns
newInstance(Type, StateManager, IObjectId)
Declaration
public PersistenceCapable newInstance(Type pcClass, StateManager sm, IObjectId oid)
Parameters
pcClass
Type
sm
oid
Returns
newObjectIdInstance(Type, string)
Declaration
public IObjectId newObjectIdInstance(Type pcClass, string str)
Parameters
pcClass
Type
str
string
Returns
registerAuthorizedStateManagerClass(object)
Declaration
public static void registerAuthorizedStateManagerClass(object smClass)
Parameters
smClass
object