Пример #1
0
 /// <summary>
 /// Create a new tblComplianceReason object.
 /// </summary>
 /// <param name="idComplianceReason">Initial value of the idComplianceReason 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 tblComplianceReason CreatetblComplianceReason(global::System.Int32 idComplianceReason, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblComplianceReason tblComplianceReason = new tblComplianceReason();
     tblComplianceReason.idComplianceReason = idComplianceReason;
     tblComplianceReason.dateCreated = dateCreated;
     tblComplianceReason.dateModified = dateModified;
     tblComplianceReason.CreatedByLogin = createdByLogin;
     tblComplianceReason.ModifiedByLogin = modifiedByLogin;
     return tblComplianceReason;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblComplianceReasons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblComplianceReasons(tblComplianceReason tblComplianceReason)
 {
     base.AddObject("tblComplianceReasons", tblComplianceReason);
 }