/// <summary> /// Deprecated Method for adding a new object to the Imports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToImports(Import import) { base.AddObject("Imports", import); }
/// <summary> /// Create a new Import object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="providerId">Initial value of the ProviderId property.</param> /// <param name="stockId">Initial value of the StockId property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createbBy">Initial value of the CreatebBy property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param> public static Import CreateImport(global::System.Int32 id, global::System.String code, global::System.Int32 providerId, global::System.Int32 stockId, global::System.DateTime createdDate, global::System.Int32 createbBy, global::System.Int32 status, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedDate) { Import import = new Import(); import.Id = id; import.Code = code; import.ProviderId = providerId; import.StockId = stockId; import.CreatedDate = createdDate; import.CreatebBy = createbBy; import.Status = status; import.LastModifiedBy = lastModifiedBy; import.LastModifiedDate = lastModifiedDate; return import; }