/// <summary> /// Deprecated Method for adding a new object to the BusinessTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessTypes(BusinessTypes businessTypes) { base.AddObject("BusinessTypes", businessTypes); }
/// <summary> /// Create a new BusinessTypes object. /// </summary> /// <param name="businessTypeID">Initial value of the BusinessTypeID property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static BusinessTypes CreateBusinessTypes(global::System.Int32 businessTypeID, global::System.DateTime addDate, global::System.Byte[] rowVersion) { BusinessTypes businessTypes = new BusinessTypes(); businessTypes.BusinessTypeID = businessTypeID; businessTypes.AddDate = addDate; businessTypes.RowVersion = rowVersion; return businessTypes; }