public static void Config(ConfigurationResolver <ConfigLessUserInplaceDirectConfig> configBase)
 {
     configBase.SetClassAttribute(new ForModelAttribute(UsersMeta.TableName));
     configBase.SetPrimaryKey(e => e.PropertyA);
     configBase.SetForModelKey(e => e.PropertyA, UsersMeta.PrimaryKeyName);
     configBase.SetForModelKey(e => e.PropertyB, UsersMeta.ContentName);
 }
Ejemplo n.º 2
0
		public static void Config(ConfigurationResolver<ConfigLessUserInplaceConfig> configBase)
		{
			configBase.SetClassAttribute(new ForModelAttribute(UsersMeta.TableName));
			configBase.SetPrimaryKey(e => e.PropertyA);
			configBase.SetForModelKey(e => e.PropertyA, UsersMeta.PrimaryKeyName);
			configBase.SetForModelKey(e => e.PropertyB, UsersMeta.ContentName);
		}