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