/// <summary> /// Create a new UsrRole object. /// </summary> /// <param name="userid">Initial value of Userid.</param> /// <param name="roleid">Initial value of Roleid.</param> public static UsrRole CreateUsrRole(string userid, long roleid) { UsrRole usrRole = new UsrRole(); usrRole.Userid = userid; usrRole.Roleid = roleid; return usrRole; }
/// <summary> /// Deprecated Method for adding a new object to the UsrRoles EntitySet. /// </summary> public void AddToUsrRoles(UsrRole usrRole) { base.AddObject("UsrRoles", usrRole); }