public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound) { switch (strPropertyName.ToLower()) { case "rideid": // Int return(RideId.ToString(strFormat, formatProvider)); case "userid": // Int return(UserId.ToString(strFormat, formatProvider)); case "accepted": // Bit return(Accepted.ToString()); case "comments": // NVarCharMax if (Comments == null) { return(""); } ; return(PropertyAccess.FormatString(Comments, strFormat)); default: propertyNotFound = true; break; } return(Null.NullString); }