public UserRegionSpecific GetRegionSpecifcInformationForUser(User aUser, UserPosition aUserPosition)
 {
     return (from urs in theEntities.UserRegionSpecifics
             join rs in theEntities.RegionSpecifics on urs.RegionSpecificId equals rs.Id
             where urs.UserId == aUser.Id
             && rs.UserPositionId == aUserPosition.Position
             select urs).FirstOrDefault<UserRegionSpecific>();
 }
 public UserRegionSpecific GetRegionSpecifcInformationForUser(User aUser, UserPosition aUserPosition)
 {
     return theAuthenticationRepo.GetRegionSpecifcInformationForUser(aUser, aUserPosition);
 }
 /// <summary>
 /// Create a new UserPosition object.
 /// </summary>
 /// <param name="position">Initial value of the Position property.</param>
 /// <param name="display">Initial value of the Display property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static UserPosition CreateUserPosition(global::System.String position, global::System.String display, global::System.String description)
 {
     UserPosition userPosition = new UserPosition();
     userPosition.Position = position;
     userPosition.Display = display;
     userPosition.Description = description;
     return userPosition;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserPositions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserPositions(UserPosition userPosition)
 {
     base.AddObject("UserPositions", userPosition);
 }