/// <summary> /// Create a new BusinessAttribute object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="industryId">Initial value of the IndustryId property.</param> /// <param name="placeId">Initial value of the PlaceId property.</param> public static BusinessAttribute CreateBusinessAttribute(global::System.Int64 id, global::System.Guid userId, global::System.Int64 industryId, global::System.Int64 placeId) { BusinessAttribute businessAttribute = new BusinessAttribute(); businessAttribute.Id = id; businessAttribute.UserId = userId; businessAttribute.IndustryId = industryId; businessAttribute.PlaceId = placeId; return(businessAttribute); }
/// <summary> /// Deprecated Method for adding a new object to the BusinessAttributes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessAttributes(BusinessAttribute businessAttribute) { base.AddObject("BusinessAttributes", businessAttribute); }