Example #1
0
        public Map <T> PrimaryKey(Expression <Func <T, object> > column, bool autoIncrement)
        {
            var members = MemberHelper <T> .GetMembers(column);

            return(PrimaryKey(members.Last().Name, autoIncrement));
        }
Example #2
0
        public Map <T> PrimaryKey(Expression <Func <T, object> > column, string sequenceName)
        {
            var members = MemberHelper <T> .GetMembers(column);

            return(PrimaryKey(members.Last().Name, sequenceName));
        }