예제 #1
0
        public static IDataFlow CreateFromOptions(IConfiguration configuration)
        {
            var options = new MySqlOptions(configuration);

            return(new MySqlEntityStorage(options.Mode, options.ConnectionString)
            {
                UseTransaction = options.UseTransaction,
                IgnoreCase = options.IgnoreCase,
                RetryTimes = options.RetryTimes
            });
        }
예제 #2
0
        public static IDataFlow CreateFromOptions(IConfiguration configuration)
        {
            var options = new MySqlOptions(configuration);

            return(new MySqlEntityStorage(options.Mode, options.ConnectionString));
        }