/// <summary> /// Create a new Roles object. /// </summary> /// <param name="roleID">Initial value of the RoleID property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="roleName">Initial value of the RoleName property.</param> public static Roles CreateRoles(global::System.Int32 roleID, global::System.Int32 siteID, global::System.String roleName) { Roles roles = new Roles(); roles.RoleID = roleID; roles.SiteID = siteID; roles.RoleName = roleName; return roles; }
/// <summary> /// Deprecated Method for adding a new object to the Roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoles(Roles roles) { base.AddObject("Roles", roles); }