Trustwin.Server.Bankruptcy 0.3.37

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.

Corrects the record given in the 0.3.36 release notes. Those notes claimed that 0.3.35 had been published twice with different content, an earlier net8.0 build and a later net10.0 one. That claim is retracted: the feed holds a single publish record for 0.3.35, dated 2026-08-11, and the content under it is the net10.0 build. The net8.0 copy that prompted the claim was found in a developer's local package cache; no record of it reaching the feed has been found. 0.3.32 through 0.3.34 never reached the feed, which the 0.3.36 notes stated correctly. 0.3.35 and 0.3.36 therefore hold correct and equivalent net10.0 content and neither is defective; 0.3.36 reissued what was already on the feed, unnecessarily but harmlessly. The changes for the 0.3.32 - 0.3.35 span are listed below.

  BEHAVIOUR CHANGE: monetary rounding now truncates toward zero, corrected
  against the historical receipt data, and is unified in MoneyRounding,
  shared by the cash-posting and payoff paths. Payoff and trustee-fee
  figures move by up to a cent per rounded value. This is the only change
  to existing behaviour in the span.

  Adds real primary keys to cashinput, rcptshist, modified, controlrecord
  and codeslist, which were mapped HasNoKey() and so could not be created,
  updated or deleted. Model-only: these tables are database-first and have
  never been under EF migration control. Keying codeslist also repairs
  Settings/CodeslistController, whose Create/Update/Delete threw
  InvalidOperationException against a keyless type. Adds the
  SuspenseTransaction entity for the Suspense transaction ledger, which had
  no entity and had been conflated with the unrelated suspensecases lookup,
  a writable ControlRecord singleton accessor, and security roles for the
  receipt, outstanding-check and suspense surfaces. Adds
  Posting/CashPostingService, the port of the legacy CashPost
  cmdAcceptClick batch posting engine, with its per-line transaction
  semantics preserved.

Version Downloads Last updated
0.3.38 14 08/12/2026
0.3.37 15 08/11/2026
0.3.36 10 08/11/2026
0.3.35 15 08/11/2026
0.3.31 13 07/27/2026
0.3.30 13 07/13/2026
0.3.29 16 07/06/2026
0.3.28 12 07/06/2026
0.3.27 13 07/06/2026
0.3.26 17 06/18/2026
0.3.22 16 06/10/2026
0.3.21 14 06/10/2026
0.3.20 15 06/10/2026
0.3.19 22 05/20/2026
0.3.18 21 03/18/2026
0.3.17 28 12/30/2025
0.3.16 22 12/30/2025
0.3.15 22 12/30/2025
0.3.14 26 12/18/2025
0.3.13 23 12/12/2025
0.3.12 23 12/01/2025
0.3.11 26 11/03/2025
0.3.10 28 10/01/2025
0.3.7 35 03/27/2025
0.3.6 24 03/27/2025
0.3.5 30 03/17/2025
0.3.2 27 03/17/2025
0.3.1 28 03/11/2025
0.3.0 23 03/07/2025