55 references to AppendSql
System.Data.Entity (55)
System\Data\SqlClient\SqlProviderUtilities.cs (55)
83
builder.
AppendSql
("create database ");
88
builder.
AppendSql
(" on primary ");
90
builder.
AppendSql
(" log on ");
99
builder.
AppendSql
("SELECT Count(*) FROM ");
101
builder.
AppendSql
(" WHERE [name]=");
110
builder.
AppendSql
("sysdatabases");
114
builder.
AppendSql
("sys.databases");
121
builder.
AppendSql
("SELECT [d].[name] FROM ");
123
builder.
AppendSql
(" AS [d] ");
126
builder.
AppendSql
("INNER JOIN sys.master_files AS [f] ON [f].[database_id] = [d].[database_id]");
128
builder.
AppendSql
(" WHERE [");
131
builder.
AppendSql
("filename");
135
builder.
AppendSql
("f].[physical_name");
137
builder.
AppendSql
("]=");
145
builder.
AppendSql
("SELECT Count(*) FROM ");
149
builder.
AppendSql
("sysdatabases");
153
builder.
AppendSql
("sys.master_files");
155
builder.
AppendSql
(" WHERE [");
158
builder.
AppendSql
("filename");
162
builder.
AppendSql
("physical_name");
164
builder.
AppendSql
("]=");
172
builder.
AppendSql
("drop database ");
203
AppendSql
("-- Ignoring association set with participating entity set with defining query: ");
208
AppendSql
("alter table ");
210
AppendSql
(" add constraint ");
212
AppendSql
(" foreign key (");
214
AppendSql
(") references ");
216
AppendSql
("(");
218
AppendSql
(")");
221
AppendSql
(" on delete cascade");
223
AppendSql
(";");
233
AppendSql
("-- Ignoring entity set with defining query: ");
239
AppendSql
("create table ");
241
AppendSql
(" (");
246
AppendSql
(" ");
248
AppendSql
(" ");
250
AppendSql
(",");
254
AppendSql
(" primary key (");
256
AppendSql
(")");
259
AppendSql
(");");
266
AppendSql
("if (schema_id(");
268
AppendSql
(") is null) exec(");
272
schemaBuilder.
AppendSql
("create schema ");
276
AppendSql
(");");
292
AppendSql
(".");
299
AppendSql
("N'" + literalValue.Replace("'", "''") + "'");
309
AppendSql
("[" + identifier.Replace("]", "]]") + "]");
319
AppendSql
("(name=");
321
AppendSql
(", filename=");
323
AppendSql
(")");
337
AppendSql
(unencodedSeparator);
371
AppendSql
("(max)");
400
AppendSql
(column.Nullable ? " null" : " not null");
410
AppendSql
(" default newid()");
414
AppendSql
(" identity");