예제 #1
0
        public EFCoreDataAccessConfigurationSection AddConvention(IEFCoreConvention convention, int?order = null)
        {
            conventions.Add(context =>
            {
                if (order.HasValue)
                {
                    convention.Order = order.Value;
                }

                return(convention);
            });

            return(this);
        }
예제 #2
0
 public int CompareTo(IEFCoreConvention other)
 {
     return(Order.CompareTo(other.Order));
 }