12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using FluentNHibernate.Mapping;
- using WhiteNoise.Domain.Entities;
- namespace WhiteNoise.Domain.Mapping
- {
-
-
-
- public class PacketMap : ClassMap<Packet>
- {
-
-
-
- public PacketMap()
- {
- this.Table("Packet");
- this.LazyLoad();
- this.Id(x => x.Id, "Id");
-
- this.Map(x => x.Type, "Type")
- .Not.Nullable();
- this.Map(x => x.Data, "Data")
- .Nullable();
- }
- }
- }
|