Show / Hide Table of Contents

Interface IEntityInfo

定义数据实体信息

Inherited Members
IEntity<Guid>.Id
Namespace: System.Dynamic.ExpandoObject
Assembly: OSharp.dll
Syntax
public interface IEntityInfo : IEntity<Guid>, IEntityHash

Properties

AuditEnabled

获取或设置 是否允许审计

Declaration
bool AuditEnabled { get; set; }
Property Value
System.Boolean

Name

获取或设置 实体名称

Declaration
string Name { get; set; }
Property Value
System.String

Properties

获取 实体属性信息

Declaration
EntityProperty[] Properties { get; }
Property Value
EntityProperty[]

PropertyJson

获取或设置 实体属性信息JSON字符串

Declaration
string PropertyJson { get; set; }
Property Value
System.String

TypeName

获取或设置 实体类型名称

Declaration
string TypeName { get; set; }
Property Value
System.String

Methods

FromType(Type)

从实体类型初始化实体信息

Declaration
void FromType(Type entityType)
Parameters
System.Type entityType

Extension Methods

EntityHashExtensions.GetHash(IEntityHash)
EntityExtensions.CheckICreatedTime<TEntity, TKey>(TEntity)
EntityExtensions.CheckICreationAudited<TEntity, TKey, TUserKey>(TEntity, IPrincipal)
EntityExtensions.CheckIUpdateAudited<TEntity, TKey, TUserKey>(TEntity, IPrincipal)
ObjectExtensions.CastTo(Object, Type)
ObjectExtensions.CastTo<T>(Object)
ObjectExtensions.CastTo<T>(Object, T)
ObjectExtensions.IsIn<T>(T, T[])
ObjectExtensions.ToDynamic(Object)
ObjectExtensions.DeepClone<T>(T)
ParamterCheckExtensions.Required<T>(T, Func<T, Boolean>, String)
ParamterCheckExtensions.Required<T, TException>(T, Func<T, Boolean>, String)
ParamterCheckExtensions.CheckNotNull<T>(T, String)
TryCatchExtensions.TryCatch<T>(T, Action<T>, Action<Exception>, Action<T>)
TryCatchExtensions.TryCatch<T>(T, Action<T>, Action<Exception>)
TryCatchExtensions.TryCatch<T, TResult>(T, Func<T, TResult>, Action<Exception>, Action<T>)
TryCatchExtensions.TryCatch<T, TResult>(T, Func<T, TResult>, Action<Exception>)
TryCatchExtensions.TryFinally<T>(T, Action<T>, Action<T>)
JsonExtensions.ToJsonString(Object, Boolean, Boolean)
MapperExtensions.MapTo<TTarget>(Object)
MapperExtensions.MapTo<TSource, TTarget>(TSource, TTarget)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<TSource, TResult>(TSource, Func<TSource, TResult>)
Back to top Generated by DocFX