Changeset eeb1f70b4867…
Parent f75d4479e2dd…
by
Changes to 7 files · Browse files at eeb1f70b4867 Showing diff from parent f75d4479e2dd Diff from another changeset...
@@ -17,7 +17,7 @@ {typeof(decimal),value=>{return (value ?? "").ToString();}},
{typeof(bool),value=>{return (Boolean)value? "1" : "0";}},
- {typeof(DateTime),value=>{return ((DateTime)value).ToString("'yyy-MM-dd HH:mm:ss'");}},
+ {typeof(DateTime),value=>{return string.Format("'{0}'", ((DateTime)value).ToString("yyy-MM-dd HH:mm:ss"));} },
{typeof(char),value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
{typeof(Guid),value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
{typeof(Guid?), value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
|
@@ -17,7 +17,7 @@ {typeof(decimal),value=>{return (value ?? "").ToString();}},
{typeof(bool),value=>{return (Boolean)value? "1" : "0";}},
- {typeof(DateTime),value=>{return ((DateTime)value).ToString("'yyy-MM-dd HH:mm:ss'");}},
+ {typeof(DateTime),value=>{return string.Format("'{0}'", ((DateTime)value).ToString("yyy-MM-dd HH:mm:ss")); } },
{typeof(char),value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
{typeof(Guid),value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
{typeof(Guid?), value=>{return value == null ? "null" : String.Format("'{0}'", value.ToString());}},
|
@@ -182,6 +182,7 @@ {
logger = logger ?? new Log4NetLogger();
_provider = provider;
+ _provider.AssemblyId = assemblyAttribute != null ? assemblyAttribute.Value : null;
_logger = logger;
_provider.Logger = _logger;
BeginMigration = beginMigration ?? new NullMigration();
|
@@ -52,10 +52,10 @@ </Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
- <Reference Include="System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
+ <Reference Include="System.Data.SQLite">
<HintPath>..\..\lib\System.Data.SQLite.DLL</HintPath>
</Reference>
- <Reference Include="System.Data.SQLite.Linq, Version=2.0.38.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
+ <Reference Include="System.Data.SQLite.Linq">
<HintPath>..\..\lib\System.Data.SQLite.Linq.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
|
|
|
|
|
@@ -68,7 +68,6 @@ <Compile Include="AssemblyInfo.cs" />
<Compile Include="MigrationTypeComparerTest.cs" />
<Compile Include="MigratorTest.cs" />
- <Compile Include="Providers\SqliteTransformationProviderTest.cs" />
<Compile Include="Providers\MySqlTransformationProviderTest.cs" />
<Compile Include="Providers\PostgreSQLTransformationProviderTest.cs" />
<Compile Include="Providers\SqlServerTransformationProviderTest.cs" />
|
Loading...