/// <summary> /// Deprecated Method for adding a new object to the Auditors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditors(Auditor auditor) { base.AddObject("Auditors", auditor); }
/// <summary> /// Create a new Auditor object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="currentAuditor">Initial value of the CurrentAuditor property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Auditor CreateAuditor(global::System.Int32 id, global::System.Boolean currentAuditor, global::System.Byte[] rowVersion) { Auditor auditor = new Auditor(); auditor.Id = id; auditor.CurrentAuditor = currentAuditor; auditor.RowVersion = rowVersion; return auditor; }