コード例 #1
0
ファイル: SaleMgn.Designer.cs プロジェクト: kietfriends/QLBH
 /// <summary>
 /// Create a new City object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 public static City CreateCity(global::System.Int32 id, global::System.String code, global::System.String name, global::System.Int32 status, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedDate)
 {
     City city = new City();
     city.Id = id;
     city.Code = code;
     city.Name = name;
     city.Status = status;
     city.LastModifiedBy = lastModifiedBy;
     city.LastModifiedDate = lastModifiedDate;
     return city;
 }
コード例 #2
0
ファイル: SaleMgn.Designer.cs プロジェクト: kietfriends/QLBH
 /// <summary>
 /// Deprecated Method for adding a new object to the Cities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCities(City city)
 {
     base.AddObject("Cities", city);
 }