WIP membership provider updates

This commit is contained in:
Shannon
2013-12-19 18:33:25 +11:00
parent c589c741e8
commit 2dd04799b2
17 changed files with 2094 additions and 2015 deletions

View File

@@ -127,6 +127,12 @@ namespace Umbraco.Core.Persistence.SqlSyntax
return string.Format("upper({0}) like '%{1}%'", column, value.ToUpper());
}
public virtual string GetStringColumnWildcardComparison(string column, string value, TextColumnType columnType)
{
//use the 'upper' method to always ensure strings are matched without case sensitivity no matter what the db setting.
return string.Format("upper({0}) like '{1}'", column, value.ToUpper());
}
public virtual string GetQuotedTableName(string tableName)
{
return string.Format("\"{0}\"", tableName);