Пример #1
0
 /// <summary>
 /// Create a new PkgRestaurant object.
 /// </summary>
 /// <param name="restaurantID">Initial value of the RestaurantID property.</param>
 /// <param name="modifyTime">Initial value of the ModifyTime property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 public static PkgRestaurant CreatePkgRestaurant(global::System.Int32 restaurantID, global::System.DateTime modifyTime, global::System.DateTime createTime)
 {
     PkgRestaurant pkgRestaurant = new PkgRestaurant();
     pkgRestaurant.RestaurantID = restaurantID;
     pkgRestaurant.ModifyTime = modifyTime;
     pkgRestaurant.CreateTime = createTime;
     return pkgRestaurant;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PkgRestaurant EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPkgRestaurant(PkgRestaurant pkgRestaurant)
 {
     base.AddObject("PkgRestaurant", pkgRestaurant);
 }