/// <summary> /// 用于向 Land_Ownerships EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToLand_Ownerships(Land_Ownership land_Ownership) { base.AddObject("Land_Ownerships", land_Ownership); }
/// <summary> /// 创建新的 Land_Ownership 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="ownerName">OwnerName 属性的初始值。</param> /// <param name="land_managerID">Land_managerID 属性的初始值。</param> public static Land_Ownership CreateLand_Ownership(global::System.Int32 id, global::System.String ownerName, global::System.Int32 land_managerID) { Land_Ownership land_Ownership = new Land_Ownership(); land_Ownership.ID = id; land_Ownership.OwnerName = ownerName; land_Ownership.Land_managerID = land_managerID; return land_Ownership; }