File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ public static string CREATE_TABLES { get
2323 return string . Format (
2424 @"USE {0};
2525
26+ IF EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[vwCustomerOrders]'))
27+ DROP VIEW [dbo].[vwCustomerOrders]
28+
2629IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Employees]') AND type in (N'U'))
2730DROP TABLE [dbo].[Employees]
2831
@@ -38,9 +41,6 @@ DROP TABLE [dbo].[OrderDetails]
3841IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Products]') AND type in (N'U'))
3942DROP TABLE [dbo].[Products]
4043
41- IF EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[vwCustomerOrders]'))
42- DROP VIEW [dbo].[vwCustomerOrders]
43-
4444IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Employees]') AND type in (N'U'))
4545BEGIN
4646CREATE TABLE [dbo].Employees (
Original file line number Diff line number Diff line change 11using System . Reflection ;
2- using System . Runtime . CompilerServices ;
32using System . Runtime . InteropServices ;
43
54// General Information about an assembly is controlled through the following
65// set of attributes. Change these attribute values to modify the information
76// associated with an assembly.
87[ assembly: AssemblyTitle ( "FluentSql" ) ]
9- [ assembly: AssemblyDescription ( "FluentSql for Dapper is a Micro ORM that uses Sql like syntax in C# " ) ]
8+ [ assembly: AssemblyDescription ( "FluentSql library creates Sql statements in C# using a Sql like syntax. It uses Dapper to execute its statements. " ) ]
109[ assembly: AssemblyConfiguration ( "Production" ) ]
1110[ assembly: AssemblyCompany ( "Spartan Systems Inc." ) ]
1211[ assembly: AssemblyProduct ( "FluentSql" ) ]
3231// You can specify all the values or you can default the Build and Revision Numbers
3332// by using the '*' as shown below:
3433// [assembly: AssemblyVersion("1.0.*")]
35- [ assembly: AssemblyVersion ( "1.0.* " ) ]
34+ [ assembly: AssemblyVersion ( "1.0.7 " ) ]
You can’t perform that action at this time.
0 commit comments