Skip to content

Commit

Permalink
1.0.0-beta-sun-build68 Version:
Browse files Browse the repository at this point in the history
      Fix issue 25: #25
      Fix issue 26: #26

      Usage:

      var database = await SqlServerDatabaseFactory.ImportAsync("Your connection string!");

      Wiki: https://github.com/hherzl/CatFactory.SqlServer/wiki
  • Loading branch information
hherzl committed Apr 19, 2023
1 parent 7eba582 commit c735865
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 54 deletions.
7 changes: 4 additions & 3 deletions CatFactory.SqlServer/CatFactory.SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.0.0-beta-sun-build69</Version>
<Version>1.0.0-beta-sun-build68</Version>
<Authors>H. Herzl</Authors>
<Company>Herzl Corp.</Company>
<Description>CatFactory package for SQL Server</Description>
<RepositoryUrl>https://github.com/hherzl/CatFactory.SqlServer</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>SQL Server Scaffolding Stored Procedures</PackageTags>
<PackageReleaseNotes>
1.0.0-beta-sun-build69 Version:
1.0.0-beta-sun-build68 Version:

Fix issue 25: https://github.com/hherzl/CatFactory.SqlServer/issues/25
Fix issue 26: https://github.com/hherzl/CatFactory.SqlServer/issues/26

Usage:

Expand All @@ -29,7 +30,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CatFactory" Version="1.0.0-beta-sun-build32" />
<PackageReference Include="CatFactory" Version="1.0.0-beta-sun-build34" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
</ItemGroup>

Expand Down
51 changes: 1 addition & 50 deletions CatFactory.SqlServer/SqlServerDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Diagnostics;
using System.Linq;
using CatFactory.ObjectRelationalMapping;
using CatFactory.ObjectRelationalMapping.Programmability;
using CatFactory.SqlServer.DatabaseObjectModel;
using CatFactory.SqlServer.ObjectRelationalMapping;

Expand Down Expand Up @@ -33,19 +32,7 @@ public static SqlServerDatabase CreateWithDefaults(string name, string defaultSc

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<ExtendedProperty> m_extendedProperties;

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<ScalarFunction> m_scalarFunctions;

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<TableFunction> m_tableFunctions;

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<StoredProcedure> m_storedProcedures;

[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<Sequence> m_sequences;


[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private List<DefaultTypeMap> m_defaultTypeMaps;

Expand All @@ -66,42 +53,6 @@ public List<ExtendedProperty> ExtendedProperties
set => m_extendedProperties = value;
}

/// <summary>
/// Gets or sets the scalar functions
/// </summary>
public List<ScalarFunction> ScalarFunctions
{
get => m_scalarFunctions ??= new List<ScalarFunction>();
set => m_scalarFunctions = value;
}

/// <summary>
/// Gets or sets the table functions
/// </summary>
public List<TableFunction> TableFunctions
{
get => m_tableFunctions ??= new List<TableFunction>();
set => m_tableFunctions = value;
}

/// <summary>
/// Gets or sets the store procedures
/// </summary>
public List<StoredProcedure> StoredProcedures
{
get => m_storedProcedures ??= new List<StoredProcedure>();
set => m_storedProcedures = value;
}

/// <summary>
/// Gets or sets the sequences
/// </summary>
public List<Sequence> Sequences
{
get => m_sequences ??= new List<Sequence>();
set => m_sequences = value;
}

/// <summary>
/// Gets or sets the default type maps
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion CatFactory.SqlServer/SqlServerDatabaseExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ public static SqlServerDatabase AddDefaultTypeMapFor(this SqlServerDatabase data
return database;
}
}
#pragma warning restore CS1591
}

0 comments on commit c735865

Please sign in to comment.