Exemplo n.º 1
0
 /// <summary>
 /// 用于向 User_ContactTable EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToUser_ContactTable(User_ContacTable user_ContacTable)
 {
     base.AddObject("User_ContactTable", user_ContacTable);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 User_ContacTable 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="tools">Tools 属性的初始值。</param>
 /// <param name="value">Value 属性的初始值。</param>
 public static User_ContacTable CreateUser_ContacTable(global::System.Int32 id, global::System.String name, global::System.String tools, global::System.String value)
 {
     User_ContacTable user_ContacTable = new User_ContacTable();
     user_ContacTable.ID = id;
     user_ContacTable.Name = name;
     user_ContacTable.Tools = tools;
     user_ContacTable.Value = value;
     return user_ContacTable;
 }