SubscribersMap.cs
613 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentNHibernate;
using FluentNHibernate.Mapping;
using ControlPanel.Models;
namespace ControlPanel.Mapping
{
public class SubscribersMap:ClassMap<Subscribers>
{
public SubscribersMap()
{
Table("Subscribers");
Id(x => x.Id);
Map(x => x.RegKey);
Map(x => x.Name);
Map(x => x.phone);
Map(x => x.claim);
Map(x => x.phoneszs);
Map(x => x.siren);
Map(x => x.idteamviewer);
}
}
}