Updated NH, Code Refactoring, made all DB transactions atomic.
Must use the Repositories with Using or else bad things will happen.
This commit is contained in:
@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using FluentNHibernate.Mapping;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.Entities.Auth
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using FluentNHibernate.Mapping;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.Entities
|
||||
{
|
||||
|
||||
@ -17,6 +17,9 @@ namespace Tanshu.Accounts.Entities
|
||||
|
||||
public virtual decimal DiscountLimit { get; set; }
|
||||
public virtual bool IsModifierCompulsory { get; set; }
|
||||
public virtual bool Discontinued { get; set; }
|
||||
public virtual int SortOrder { get; set; }
|
||||
|
||||
public virtual string GroupType { get; set; }
|
||||
[Inverse]
|
||||
public virtual IList<Product> Products { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user