Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / ZeroAsNullInt Class
Members
In This Topic
    ZeroAsNullInt Class
    In This Topic
    Provides custom translation of integers, converting between zero in memory to NULL in the database. This eliminates the need for null checks against nullable int properties, consistent with legacy AC7 behaviors.
    Syntax
    public class ZeroAsNullInt : NHibernate.UserTypes.IUserType  
    Inheritance Hierarchy

    System.Object
       CommerceBuilder.DomainModel.ZeroAsNullInt

    See Also