Esempio n. 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
            });
        }
Esempio n. 2
0
        public static IDataFlow CreateFromOptions(IConfiguration configuration)
        {
            var options = new MySqlOptions(configuration);

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