Пример #1
0
 /// <summary>
 /// 创建新的 LGN 对象。
 /// </summary>
 /// <param name="uid">uid 属性的初始值。</param>
 /// <param name="user_name">user_name 属性的初始值。</param>
 /// <param name="password">password 属性的初始值。</param>
 /// <param name="authority_level">authority_level 属性的初始值。</param>
 public static LGN CreateLGN(global::System.Int32 uid, global::System.String user_name, global::System.String password, global::System.Int32 authority_level)
 {
     LGN lGN = new LGN();
     lGN.uid = uid;
     lGN.user_name = user_name;
     lGN.password = password;
     lGN.authority_level = authority_level;
     return lGN;
 }
Пример #2
0
 /// <summary>
 /// 用于向 LGN EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToLGN(LGN lGN)
 {
     base.AddObject("LGN", lGN);
 }