Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecurityGroupItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecurityGroupItems(SecurityGroupItem securityGroupItem)
 {
     base.AddObject("SecurityGroupItems", securityGroupItem);
 }
Example #2
0
 /// <summary>
 /// Create a new SecurityGroupItem object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="securityGroupID">Initial value of the SecurityGroupID property.</param>
 /// <param name="securityItemID">Initial value of the SecurityItemID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 public static SecurityGroupItem CreateSecurityGroupItem(global::System.Int32 id, global::System.Int32 securityGroupID, global::System.Int32 securityItemID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy)
 {
     SecurityGroupItem securityGroupItem = new SecurityGroupItem();
     securityGroupItem.ID = id;
     securityGroupItem.SecurityGroupID = securityGroupID;
     securityGroupItem.SecurityItemID = securityItemID;
     securityGroupItem.LastUpdated = lastUpdated;
     securityGroupItem.LastUpdatedBy = lastUpdatedBy;
     return securityGroupItem;
 }