Example #1
0
 /// <summary>
 /// 创建新的 V_ShopWithServiceArea 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="phoneNumber">PhoneNumber 属性的初始值。</param>
 /// <param name="officeTimeBegin">OfficeTimeBegin 属性的初始值。</param>
 /// <param name="officeTimeEnd">OfficeTimeEnd 属性的初始值。</param>
 /// <param name="stars">Stars 属性的初始值。</param>
 /// <param name="longitude">Longitude 属性的初始值。</param>
 /// <param name="latitude">Latitude 属性的初始值。</param>
 /// <param name="categoryId">CategoryId 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="areaId">AreaId 属性的初始值。</param>
 /// <param name="category">Category 属性的初始值。</param>
 public static V_ShopWithServiceArea CreateV_ShopWithServiceArea(global::System.Int32 id, global::System.String name, global::System.String address, global::System.String phoneNumber, global::System.TimeSpan officeTimeBegin, global::System.TimeSpan officeTimeEnd, global::System.Int16 stars, global::System.Double longitude, global::System.Double latitude, global::System.Int32 categoryId, global::System.DateTime createTime, global::System.Int32 areaId, global::System.String category)
 {
     V_ShopWithServiceArea v_ShopWithServiceArea = new V_ShopWithServiceArea();
     v_ShopWithServiceArea.Id = id;
     v_ShopWithServiceArea.Name = name;
     v_ShopWithServiceArea.Address = address;
     v_ShopWithServiceArea.PhoneNumber = phoneNumber;
     v_ShopWithServiceArea.OfficeTimeBegin = officeTimeBegin;
     v_ShopWithServiceArea.OfficeTimeEnd = officeTimeEnd;
     v_ShopWithServiceArea.Stars = stars;
     v_ShopWithServiceArea.Longitude = longitude;
     v_ShopWithServiceArea.Latitude = latitude;
     v_ShopWithServiceArea.CategoryId = categoryId;
     v_ShopWithServiceArea.CreateTime = createTime;
     v_ShopWithServiceArea.AreaId = areaId;
     v_ShopWithServiceArea.Category = category;
     return v_ShopWithServiceArea;
 }
Example #2
0
 /// <summary>
 /// 用于向 V_ShopWithServiceArea EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToV_ShopWithServiceArea(V_ShopWithServiceArea v_ShopWithServiceArea)
 {
     base.AddObject("V_ShopWithServiceArea", v_ShopWithServiceArea);
 }