/// <summary> /// Deprecated Method for adding a new object to the InRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInRoles(InRole inRole) { base.AddObject("InRoles", inRole); }
/// <summary> /// Create a new InRole object. /// </summary> /// <param name="inRolesID">Initial value of the InRolesID property.</param> /// <param name="applicationID">Initial value of the ApplicationID property.</param> /// <param name="groupID">Initial value of the GroupID property.</param> public static InRole CreateInRole(global::System.Int32 inRolesID, global::System.Int32 applicationID, global::System.Int32 groupID) { InRole inRole = new InRole(); inRole.InRolesID = inRolesID; inRole.ApplicationID = applicationID; inRole.GroupID = groupID; return inRole; }