QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142) getrackt, ohne .gitmodules und ohne erreichbares Remote. Der Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen. Umstellung: - Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6) - Gitlink aus dem Index entfernt - Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
using Centron.Data.Entities.Accounts;
|
|
using FluentNHibernate.Mapping;
|
|
|
|
namespace Centron.Tests.BL.DatabaseMappings
|
|
{
|
|
/// <summary>
|
|
/// <b>IMPORTANT</b>: This is a replacement class for the real <see cref="Centron.DAO.Mappings.Accounts.AccountSupplierMaps"/> class for running in-memory unit tests.
|
|
/// This test mapping includes only the columns needed for the tests.
|
|
/// Make sure to keep this class in sync with the columns needed for your tests.
|
|
/// </summary>
|
|
public class AccountSupplierMapsForTest : ClassMap<AccountSupplier>
|
|
{
|
|
public AccountSupplierMapsForTest()
|
|
{
|
|
Table("AccountSuppliers");
|
|
Id(m => m.I3D).Column("I3D").GeneratedBy.Assigned();
|
|
|
|
Map(m => m.Number).Column("Number");
|
|
|
|
// Basic columns that might be needed for tests
|
|
Map(m => m.BookKeepingNumber).Column("BookKeepingNumber").Length(64).Nullable();
|
|
Map(m => m.OwnCustomerNumber).Column("OwnCustomerNumber").Length(20).Nullable();
|
|
|
|
// Note: Other columns and reference mappings are intentionally omitted
|
|
// for test purposes to keep the mapping simple
|
|
}
|
|
}
|
|
}
|