/// <summary> /// Deprecated Method for adding a new object to the PropertyInfos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPropertyInfos(PropertyInfo propertyInfo) { base.AddObject("PropertyInfos", propertyInfo); }
/// <summary> /// Create a new PropertyInfo object. /// </summary> /// <param name="propertyInfoId">Initial value of the PropertyInfoId property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="squareFootage">Initial value of the SquareFootage property.</param> /// <param name="yearBuilt">Initial value of the YearBuilt property.</param> /// <param name="acres">Initial value of the Acres property.</param> /// <param name="isAvailable">Initial value of the IsAvailable 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 PropertyInfo CreatePropertyInfo(global::System.Int32 propertyInfoId, global::System.String type, global::System.Int32 squareFootage, global::System.Int32 yearBuilt, global::System.Double acres, global::System.Boolean isAvailable, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted) { PropertyInfo propertyInfo = new PropertyInfo(); propertyInfo.PropertyInfoId = propertyInfoId; propertyInfo.Type = type; propertyInfo.SquareFootage = squareFootage; propertyInfo.YearBuilt = yearBuilt; propertyInfo.Acres = acres; propertyInfo.IsAvailable = isAvailable; propertyInfo.CreateDate = createDate; propertyInfo.CreatedBy = createdBy; propertyInfo.IsDeleted = isDeleted; return propertyInfo; }