Example #1
0
 /// <summary>
 /// Create a new tblComplianceViolation object.
 /// </summary>
 /// <param name="idComplianceViolation">Initial value of the idComplianceViolation property.</param>
 /// <param name="idComplianceCode">Initial value of the idComplianceCode property.</param>
 /// <param name="idComplianceReason">Initial value of the idComplianceReason property.</param>
 /// <param name="dateStart">Initial value of the dateStart property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblComplianceViolation CreatetblComplianceViolation(global::System.Int32 idComplianceViolation, global::System.Int32 idComplianceCode, global::System.Int32 idComplianceReason, global::System.DateTime dateStart, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblComplianceViolation tblComplianceViolation = new tblComplianceViolation();
     tblComplianceViolation.idComplianceViolation = idComplianceViolation;
     tblComplianceViolation.idComplianceCode = idComplianceCode;
     tblComplianceViolation.idComplianceReason = idComplianceReason;
     tblComplianceViolation.dateStart = dateStart;
     tblComplianceViolation.dateCreated = dateCreated;
     tblComplianceViolation.dateModified = dateModified;
     tblComplianceViolation.CreatedByLogin = createdByLogin;
     tblComplianceViolation.ModifiedByLogin = modifiedByLogin;
     return tblComplianceViolation;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblComplianceViolations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblComplianceViolations(tblComplianceViolation tblComplianceViolation)
 {
     base.AddObject("tblComplianceViolations", tblComplianceViolation);
 }