19 references to SqlIdentifier
System.Data.Linq (19)
SqlClient\Query\SqlFormatter.cs (3)
422
sb.Append(
SqlIdentifier
.QuoteCompoundIdentifier(s));
427
sb.Append(
SqlIdentifier
.QuoteCompoundIdentifier(s));
429
sb.Append(
SqlIdentifier
.QuoteCompoundIdentifier("@" + s));
SqlClient\Reader\ObjectReaderCompiler.cs (2)
2606
lookup[
SqlIdentifier
.QuoteCompoundIdentifier(reader.GetName(i))] = i;
2610
if (lookup.TryGetValue(
SqlIdentifier
.QuoteCompoundIdentifier(namedColumns[i].Name), out ordinal)) {
SqlClient\SqlBuilder.cs (14)
23
sb.AppendFormat("CREATE DATABASE {0}",
SqlIdentifier
.QuoteIdentifier(catalog));
33
sb.AppendFormat("DROP DATABASE {0}",
SqlIdentifier
.QuoteIdentifier(catalog));
39
List<string> parts = new List<string>(
SqlIdentifier
.GetCompoundIdentifierParts(table.TableName));
52
sb.AppendFormat("CREATE SCHEMA {0}",
SqlIdentifier
.QuoteIdentifier(schema));
61
sb.AppendFormat("CREATE TABLE {0}",
SqlIdentifier
.QuoteCompoundIdentifier(table.TableName));
70
sb.AppendFormat(" CONSTRAINT {0} PRIMARY KEY ({1})",
SqlIdentifier
.QuoteIdentifier(name), decl.ToString());
109
sb.Append(string.Format(Globalization.CultureInfo.InvariantCulture, " {0} ",
SqlIdentifier
.QuoteCompoundIdentifier(mm.MappedName)));
130
sb.Append(
SqlIdentifier
.QuoteCompoundIdentifier(mm.MappedName));
140
sb.Append(
SqlIdentifier
.QuoteCompoundIdentifier(mm.MappedName));
179
SqlIdentifier
.QuoteCompoundIdentifier(tableName),
180
SqlIdentifier
.QuoteIdentifier(name),
181
SqlIdentifier
.QuoteCompoundIdentifier(thisKey),
182
SqlIdentifier
.QuoteCompoundIdentifier(otherTable),
183
SqlIdentifier
.QuoteCompoundIdentifier(otherKey));