/// <summary> /// Create a new tblComplianceCode object. /// </summary> /// <param name="idComplianceCode">Initial value of the idComplianceCode 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 tblComplianceCode CreatetblComplianceCode(global::System.Int32 idComplianceCode, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblComplianceCode tblComplianceCode = new tblComplianceCode(); tblComplianceCode.idComplianceCode = idComplianceCode; tblComplianceCode.dateCreated = dateCreated; tblComplianceCode.dateModified = dateModified; tblComplianceCode.CreatedByLogin = createdByLogin; tblComplianceCode.ModifiedByLogin = modifiedByLogin; return tblComplianceCode; }
/// <summary> /// Deprecated Method for adding a new object to the tblComplianceCodes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblComplianceCodes(tblComplianceCode tblComplianceCode) { base.AddObject("tblComplianceCodes", tblComplianceCode); }