示例#1
0
 /// <summary>
 /// Create a new AccessControl object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="actionDescription">Initial value of the ActionDescription property.</param>
 /// <param name="shortTag">Initial value of the ShortTag property.</param>
 public static AccessControl CreateAccessControl(global::System.Int32 id, global::System.String actionDescription, global::System.String shortTag)
 {
     AccessControl accessControl = new AccessControl();
     accessControl.Id = id;
     accessControl.ActionDescription = actionDescription;
     accessControl.ShortTag = shortTag;
     return accessControl;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AccessControls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAccessControls(AccessControl accessControl)
 {
     base.AddObject("AccessControls", accessControl);
 }