/// <summary> /// 创建新的 V_ShopServiceArea 对象。 /// </summary> /// <param name="shopId">ShopId 属性的初始值。</param> /// <param name="areaId">AreaId 属性的初始值。</param> /// <param name="serviceArea">ServiceArea 属性的初始值。</param> /// <param name="parentId">ParentId 属性的初始值。</param> /// <param name="areaType">AreaType 属性的初始值。</param> public static V_ShopServiceArea CreateV_ShopServiceArea(global::System.Int32 shopId, global::System.Int32 areaId, global::System.String serviceArea, global::System.Int32 parentId, global::System.String areaType) { V_ShopServiceArea v_ShopServiceArea = new V_ShopServiceArea(); v_ShopServiceArea.ShopId = shopId; v_ShopServiceArea.AreaId = areaId; v_ShopServiceArea.ServiceArea = serviceArea; v_ShopServiceArea.ParentId = parentId; v_ShopServiceArea.AreaType = areaType; return v_ShopServiceArea; }
/// <summary> /// 用于向 V_ShopServiceArea EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToV_ShopServiceArea(V_ShopServiceArea v_ShopServiceArea) { base.AddObject("V_ShopServiceArea", v_ShopServiceArea); }