/// <summary> /// Create a new Store object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="salesEmail">Initial value of the SalesEmail property.</param> /// <param name="supportEmail">Initial value of the SupportEmail property.</param> /// <param name="zoneGuid">Initial value of the ZoneGuid property.</param> /// <param name="countryGuid">Initial value of the CountryGuid property.</param> /// <param name="isClosed">Initial value of the IsClosed property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static Store CreateStore(global::System.Guid guid, global::System.Guid siteGuid, global::System.Int32 moduleID, global::System.String name, global::System.String salesEmail, global::System.String supportEmail, global::System.Guid zoneGuid, global::System.Guid countryGuid, global::System.Boolean isClosed, global::System.DateTime created, global::System.Guid createdBy) { Store store = new Store(); store.Guid = guid; store.SiteGuid = siteGuid; store.ModuleID = moduleID; store.Name = name; store.SalesEmail = salesEmail; store.SupportEmail = supportEmail; store.ZoneGuid = zoneGuid; store.CountryGuid = countryGuid; store.IsClosed = isClosed; store.Created = created; store.CreatedBy = createdBy; return store; }
/// <summary> /// Deprecated Method for adding a new object to the Stores EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStores(Store store) { base.AddObject("Stores", store); }