-
Notifications
You must be signed in to change notification settings - Fork 15
update to 6.0 #545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
update to 6.0 #545
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,8 +65,8 @@ public static string ToHocon(this ProviderType type) | |
| ProviderType.SqlServer2019 => ProviderName.SqlServer2019, | ||
| ProviderType.SqlServer2022 => ProviderName.SqlServer2022, | ||
| ProviderType.MySql => ProviderName.MySql, | ||
| ProviderType.MySqlOfficial => ProviderName.MySqlOfficial, | ||
| ProviderType.MySqlConnector => ProviderName.MySqlConnector, | ||
| ProviderType.MySqlOfficial => ProviderName.MySql80MySqlData,//.MySqlOfficial, | ||
| ProviderType.MySqlConnector => ProviderName.MySql80MySqlConnector, | ||
|
Comment on lines
+68
to
+69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add Not sure if this implies config updates required (We could always try to translate if needed I guess? |
||
| ProviderType.PostgreSql => ProviderName.PostgreSQL, | ||
| ProviderType.PostgreSql92 => ProviderName.PostgreSQL92, | ||
| ProviderType.PostgreSql93 => ProviderName.PostgreSQL93, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ public MySqlContainer() : base("mysql", "8", $"mysql-{Guid.NewGuid():N}") | |
|
|
||
| public override string ConnectionString => _connectionStringBuilder.ToString(); | ||
|
|
||
| public override string ProviderName => LinqToDB.ProviderName.MySqlOfficial; | ||
| public override string ProviderName => LinqToDB.ProviderName.MySql80MySqlConnector;//.MySqlOfficial; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possibly should actually be |
||
|
|
||
| private int Port { get; } = ThreadLocalRandom.Current.Next(9000, 10000); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,7 @@ public void Dispose() | |
| => _connection.Dispose(); | ||
|
|
||
| public AkkaDataConnection Clone() | ||
| => new(_providerName, (DataConnection)_connection.Clone()); | ||
| => throw new NotSupportedException();//_providerName, (DataConnection)_connection.Clone()); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have Option 1 - Take what I did here and treat it as Not Supported. Option 2 - Have AkkaDataConnection take in the actual connection string as well, and then just have Option 3 - Just get rid of this method; -should- be a compile time break (bad) but should show up right away in most sane CI setups. (If we go with 1 or 2, we'll still need to mark this as obsolete via attr) |
||
|
|
||
| public DatabaseSchema GetSchema() | ||
| => _connection.DataProvider.GetSchemaProvider().GetSchema(_connection); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things got moved, now this namespace is a thing for
ToListAsync/ToDictionaryAsyncetc.