/// <summary> /// Create a new ServiceContractSupplier object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="serviceContractSupplierDetails">Initial value of the ServiceContractSupplierDetails property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ServiceContractSupplier CreateServiceContractSupplier(global::System.Int32 id, global::System.String serviceContractSupplierDetails, global::System.Byte[] rowVersion) { ServiceContractSupplier serviceContractSupplier = new ServiceContractSupplier(); serviceContractSupplier.Id = id; serviceContractSupplier.ServiceContractSupplierDetails = serviceContractSupplierDetails; serviceContractSupplier.RowVersion = rowVersion; return serviceContractSupplier; }
/// <summary> /// Deprecated Method for adding a new object to the ServiceContractSuppliers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServiceContractSuppliers(ServiceContractSupplier serviceContractSupplier) { base.AddObject("ServiceContractSuppliers", serviceContractSupplier); }