/// <summary> /// Create a new AuditLevel object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="level">Initial value of the Level property.</param> public static AuditLevel CreateAuditLevel(global::System.Int32 id, global::System.String description, global::System.Int32 level) { AuditLevel auditLevel = new AuditLevel(); auditLevel.Id = id; auditLevel.Description = description; auditLevel.Level = level; return auditLevel; }
/// <summary> /// Deprecated Method for adding a new object to the AuditLevel EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditLevel(AuditLevel auditLevel) { base.AddObject("AuditLevel", auditLevel); }