Trustwin.Server.Bankruptcy 0.3.17

Trustwin.Server.Bankruptcy Namespance and Foundation

This namespace contains all the foundation tidbits of the entire Trustwin server tree. Including extensions and foundation classes.

Classes and Extensions

See Documentation directory for more information and details about the classes

Getting Started

For developers working on this code, you will need access to a working Trustwin.Server.API instance. At this point there is not a constantly running UnitTesting server, but there will be one in the future. With a server, you will need to copy the trustwin.client.test.template.json to trustwin.client.tests.json and alter it to fit your specific testing environment ( host, user, password ).

Publishing To Internal

In order to maintain this locally and securely, we are maintaining our packages in an internal shared folder. In order to publish this package the .nuspec version needs to be incremented:

    <version>0.1.0</version>

Next the project needs to built in its Release form:

    dotnet build . --configuration RELEASE 

With that built, the package itself can be produced and pushed to the shared folder. The following example uses that Mac style path, but it could be replaced with a Windows share path using the \192.168.10.25\share\Developers\Packages\ style path.

nuget pack -OutputDirectory pub -Properties Configuration=Release
cd pub 
nuget add Trustwin.Server.Bankruptcy.0.1.0.nupkg -Source /Volumes/share/Developer/Packages

Adding New Entities

To add a new entity to the project, use the following command: ( note, you will need to update the connection string to match your environment, and escape in special characters in the password if necessary).

dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer --context TempWorkContext -o Entities --table tablename

Once that is complete, you will need to create a 'Configuration' class for the entity, and move the code from the TempWorkContext to the new Configuration class.

Next you will need to add the new entity to the BankruptcyContext.cs file.

With that complete, you should be able to publish the nuget package and test it in the Trustwin.Server.API project.

dotnet ef dbcontext scaffold "Server=tcp:trustwin-production.database.windows.net,1433;Initial Catalog=ch13tnkn;Persist Security Info=False;User ID=tw-sql;Password=Thi$PassIs4Admin!;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" Microsoft.EntityFrameworkCore.SqlServer --context TempWorkContext -o Entities --table ActiveCreditors

History

2024.11.25

  • Migrated Casespouse to CaseSpouse in .Entities
  • Migrated CaseSpouseConfiguration to .Configurations
  • Added Primary Key to CaseSpouse entity.

2022.11.8

  • initial implementation and migration from proof of concept work into pre production form.

No packages depend on Trustwin.Server.Bankruptcy.

Includes updated CaseSpouse context and entities

.NET 8.0

  • No dependencies.

Version Downloads Last updated
0.3.17 6 12/30/2025
0.3.16 6 12/30/2025
0.3.15 4 12/30/2025
0.3.14 11 12/18/2025
0.3.13 8 12/12/2025
0.3.12 8 12/01/2025
0.3.11 9 11/03/2025
0.3.10 12 10/01/2025
0.3.7 20 03/27/2025
0.3.6 9 03/27/2025
0.3.5 13 03/17/2025
0.3.2 12 03/17/2025
0.3.1 14 03/11/2025
0.3.0 9 03/07/2025