public static AtomMemberInfo Key(this AtomMemberInfo memberInfo) { memberInfo.Unique = true; memberInfo.Queryable = true; memberInfo.IsPrimary = true; memberInfo.AddFlags(MemberFlags.PrimaryKey); return(memberInfo); }
internal static AtomMemberInfo Flag(this AtomMemberInfo memberInfo, MemberFlags additionalFlags = MemberFlags.None) { return(memberInfo.AddFlags(additionalFlags)); }
internal static AtomMemberInfo Generated(this AtomMemberInfo memberInfo, MemberFlags additionalFlags = MemberFlags.None) { return(memberInfo.AddFlags(MemberFlags.Generated | additionalFlags)); }
public static AtomMemberInfo NotUpdateable(this AtomMemberInfo memberInfo) { return(memberInfo.AddFlags(MemberFlags.NotUpdateable)); }