/// <summary> /// Create a new Ace object. /// </summary> /// <param name="trustee">Initial value of the Trustee property.</param> /// <param name="action">Initial value of the Action property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="tid">Initial value of the Tid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> /// <param name="aclId">Initial value of the AclId property.</param> public static Ace CreateAce(global::System.String trustee, global::System.String action, global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified, global::System.Int64 aclId) { Ace ace = new Ace(); ace.Trustee = trustee; ace.Action = action; ace.Id = id; ace.Tid = tid; ace.Name = name; ace.CreatedBy = createdBy; ace.ModifiedBy = modifiedBy; ace.Created = created; ace.Modified = modified; ace.AclId = aclId; return ace; }
/// <summary> /// Deprecated Method for adding a new object to the Aces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAces(Ace ace) { base.AddObject("Aces", ace); }