/// <summary> /// Create a new test object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="documentTypeId">Initial value of the DocumentTypeId property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="documentIssuerCostCentreId">Initial value of the DocumentIssuerCostCentreId property.</param> /// <param name="documentIssuerUserId">Initial value of the DocumentIssuerUserId property.</param> /// <param name="documentDateIssued">Initial value of the DocumentDateIssued property.</param> /// <param name="documentStatusId">Initial value of the DocumentStatusId property.</param> /// <param name="documentRecipientCostCentre">Initial value of the DocumentRecipientCostCentre property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static test Createtest(global::System.Guid id, global::System.Int32 documentTypeId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Guid documentIssuerCostCentreId, global::System.Guid documentIssuerUserId, global::System.DateTime documentDateIssued, global::System.Int32 documentStatusId, global::System.Guid documentRecipientCostCentre, global::System.Int32 iM_Status) { test test = new test(); test.Id = id; test.DocumentTypeId = documentTypeId; test.IM_DateCreated = iM_DateCreated; test.IM_DateLastUpdated = iM_DateLastUpdated; test.DocumentIssuerCostCentreId = documentIssuerCostCentreId; test.DocumentIssuerUserId = documentIssuerUserId; test.DocumentDateIssued = documentDateIssued; test.DocumentStatusId = documentStatusId; test.DocumentRecipientCostCentre = documentRecipientCostCentre; test.IM_Status = iM_Status; return test; }
/// <summary> /// Deprecated Method for adding a new object to the test EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotest(test test) { base.AddObject("test", test); }