コード例 #1
0
 /// <summary>
 /// Create a new PropertyInfoAmenitiesWithOption object.
 /// </summary>
 /// <param name="amenityId">Initial value of the AmenityId property.</param>
 /// <param name="propertyInfoId">Initial value of the PropertyInfoId property.</param>
 /// <param name="option">Initial value of the Option property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static PropertyInfoAmenitiesWithOption CreatePropertyInfoAmenitiesWithOption(global::System.Int32 amenityId, global::System.Int32 propertyInfoId, global::System.String option, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     PropertyInfoAmenitiesWithOption propertyInfoAmenitiesWithOption = new PropertyInfoAmenitiesWithOption();
     propertyInfoAmenitiesWithOption.AmenityId = amenityId;
     propertyInfoAmenitiesWithOption.PropertyInfoId = propertyInfoId;
     propertyInfoAmenitiesWithOption.Option = option;
     propertyInfoAmenitiesWithOption.CreateDate = createDate;
     propertyInfoAmenitiesWithOption.CreatedBy = createdBy;
     propertyInfoAmenitiesWithOption.IsDeleted = isDeleted;
     return propertyInfoAmenitiesWithOption;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PropertyInfoAmenitiesWithOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPropertyInfoAmenitiesWithOptions(PropertyInfoAmenitiesWithOption propertyInfoAmenitiesWithOption)
 {
     base.AddObject("PropertyInfoAmenitiesWithOptions", propertyInfoAmenitiesWithOption);
 }