protected Entity() { TableFullName = GetType().FullName; Key = IntrospectionManager.GetTableKey(TableFullName); if (string.IsNullOrWhiteSpace(Key) && Configure.SetKey != null) { Key = Configure.SetKey.Invoke(this); } TableName = IntrospectionManager.GetTableName(TableFullName); Resources = new Dictionary <string, object>(); }