public void Insert(int index, TestUser entity) { base.Insert(index, entity); }
public bool Contains(TestUser entity) { return(base.Contains(entity)); }
public int IndexOf(TestUser entity) { return(base.IndexOf(entity)); }
public bool Remove(TestUser entity) { return(base.Remove(entity)); }
public void Add(TestUser entity) { base.Add(entity); }
private static string ReadOnlyUserCodeShadow_GetValue(TestUser user) { return(GetReadOnlyUserCode(user)); }
private static string ReadOnlyNameAgeProperty_GetValue(TestUser user) { return(string.Format("{0} 的年龄是 {1}", user.Name, user.Age)); }
public static string GetReadOnlyUserCodeShadow(TestUser entity) { return(entity.GetProperty(ReadOnlyUserCodeShadowProperty)); }
private static string ReadOnlyUserCodeProperty_GetValue(TestUser user) { return(GetUserCode(user) + " ReadOnly!"); }
public static void SetUserCode(TestUser entity, string value) { entity.SetProperty(UserCodeProperty, value); }
public static string GetUserCode(TestUser entity) { return(entity.GetProperty(UserCodeProperty)); }
/// <summary> /// 获取 用户行为日志 属性的值。 /// </summary> /// <param name="me">要获取扩展属性值的对象。</param> public static TestUserLogList GetTestUserLogList(this TestUser me) { return(me.GetLazyList(TestUserLogListProperty) as TestUserLogList); }