Exemplo n.º 1
0
        public static AtomMemberInfo Key(this AtomMemberInfo memberInfo)
        {
            memberInfo.Unique    = true;
            memberInfo.Queryable = true;
            memberInfo.IsPrimary = true;
            memberInfo.AddFlags(MemberFlags.PrimaryKey);

            return(memberInfo);
        }
Exemplo n.º 2
0
 internal static AtomMemberInfo Flag(this AtomMemberInfo memberInfo, MemberFlags additionalFlags = MemberFlags.None)
 {
     return(memberInfo.AddFlags(additionalFlags));
 }
Exemplo n.º 3
0
 internal static AtomMemberInfo Generated(this AtomMemberInfo memberInfo, MemberFlags additionalFlags = MemberFlags.None)
 {
     return(memberInfo.AddFlags(MemberFlags.Generated | additionalFlags));
 }
Exemplo n.º 4
0
 public static AtomMemberInfo NotUpdateable(this AtomMemberInfo memberInfo)
 {
     return(memberInfo.AddFlags(MemberFlags.NotUpdateable));
 }