/// <summary> /// 创建新的 Table1Item 对象。 /// </summary> /// <param name="id">Id 属性的初始值。</param> /// <param name="rowVersion">RowVersion 属性的初始值。</param> public static Table1Item CreateTable1Item(global::System.Int32 id, global::System.Byte[] rowVersion) { Table1Item table1Item = new Table1Item(); table1Item.Id = id; table1Item.RowVersion = rowVersion; return(table1Item); }
/// <summary> /// Create a new Table1Item object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Table1Item CreateTable1Item(global::System.Int32 id, global::System.Byte[] rowVersion) { Table1Item table1Item = new Table1Item(); table1Item.Id = id; table1Item.RowVersion = rowVersion; return table1Item; }
/// <summary> /// Deprecated Method for adding a new object to the Table1Items EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTable1Items(Table1Item table1Item) { base.AddObject("Table1Items", table1Item); }
/// <summary> /// Create a new Table1Item object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="email">Initial value of the email property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> public static Table1Item CreateTable1Item(global::System.Int32 id, global::System.String name, global::System.String email, global::System.String city, global::System.String state) { Table1Item table1Item = new Table1Item(); table1Item.Id = id; table1Item.Name = name; table1Item.email = email; table1Item.City = city; table1Item.State = state; return table1Item; }
/// <summary> /// 用于向 Table1ItemSet EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTable1ItemSet(Table1Item table1Item) { base.AddObject("Table1ItemSet", table1Item); }