2024-06-08 03:39:54 +02:00
|
|
|
|
using FluentNHibernate.Mapping;
|
|
|
|
|
|
|
|
|
|
namespace FirmTracker_Server.nHibernate.Reports
|
|
|
|
|
{
|
|
|
|
|
public class ReportTransactionMapping : ClassMap<ReportTransaction>
|
|
|
|
|
{
|
2024-06-08 15:04:52 +02:00
|
|
|
|
public ReportTransactionMapping()
|
2024-06-08 03:39:54 +02:00
|
|
|
|
{
|
|
|
|
|
Table("ReportTransactions");
|
2024-06-08 15:04:52 +02:00
|
|
|
|
CompositeId()
|
|
|
|
|
.KeyReference(x => x.Report, "ReportId")
|
|
|
|
|
.KeyReference(x => x.Transaction, "TransactionId");
|
2024-06-08 03:39:54 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|