/// <summary> /// Deprecated Method for adding a new object to the ListingLocation EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToListingLocation(ListingLocation listingLocation) { base.AddObject("ListingLocation", listingLocation); }
/// <summary> /// Create a new ListingLocation object. /// </summary> /// <param name="listingLocationId">Initial value of the ListingLocationId property.</param> /// <param name="listingId">Initial value of the ListingId property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="areaId">Initial value of the AreaId property.</param> /// <param name="pinCode">Initial value of the PinCode property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static ListingLocation CreateListingLocation(global::System.Int64 listingLocationId, global::System.Int64 listingId, global::System.Int32 cityId, global::System.String areaId, global::System.Int32 pinCode, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.Int64 createdBy, global::System.Int64 updatedBy, global::System.Boolean isActive, global::System.Boolean isDeleted) { ListingLocation listingLocation = new ListingLocation(); listingLocation.ListingLocationId = listingLocationId; listingLocation.ListingId = listingId; listingLocation.CityId = cityId; listingLocation.AreaId = areaId; listingLocation.PinCode = pinCode; listingLocation.CreatedOn = createdOn; listingLocation.UpdatedOn = updatedOn; listingLocation.CreatedBy = createdBy; listingLocation.UpdatedBy = updatedBy; listingLocation.IsActive = isActive; listingLocation.IsDeleted = isDeleted; return listingLocation; }