BDD.SpecFlow.Mock.Start.Domain.Infrastructure.NHibernateHelper.SkapaPeristanceModel C# (CSharp) Метод

SkapaPeristanceModel() публичный статический Метод

Returns the automapped persistance model with conventions
public static SkapaPeristanceModel ( ) : PersistenceModel
Результат FluentNHibernate.PersistenceModel
        public static PersistenceModel SkapaPeristanceModel()
        {
            // Vi köper alla default konventioner
            return AutoMap.AssemblyOf<Film>()
                .Where(type => type.IsClass &&
                               !type.IsAbstract &&
                               type.Namespace.EndsWith("Entitet"));
        }