/// <summary> /// Deprecated Method for adding a new object to the AuditTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditTypes(AuditType auditType) { base.AddObject("AuditTypes", auditType); }
/// <summary> /// Create a new AuditType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="auditTypeDescription">Initial value of the AuditTypeDescription property.</param> /// <param name="inUse">Initial value of the inUse property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static AuditType CreateAuditType(global::System.Int32 id, global::System.String auditTypeDescription, global::System.Boolean inUse, global::System.Byte[] rowVersion) { AuditType auditType = new AuditType(); auditType.Id = id; auditType.AuditTypeDescription = auditTypeDescription; auditType.inUse = inUse; auditType.RowVersion = rowVersion; return auditType; }