コード例 #1
0
        public static IBindType <T> BindType <T>(
            this ISchemaFirstConfiguration schemaConfiguration)
            where T : class
        {
            if (schemaConfiguration == null)
            {
                throw new ArgumentNullException(nameof(schemaConfiguration));
            }

            return(schemaConfiguration.BindType <T>(BindingBehavior.Implicit));
        }
コード例 #2
0
 public static IBindType <T> BindType <T>(
     this ISchemaFirstConfiguration configuration)
     where T : class
 {
     return(configuration.BindType <T>(BindingBehavior.Implicit));
 }