JDBC string support
This commit is contained in:
parent
1d53ca2fc2
commit
0090f39910
7 changed files with 396 additions and 28 deletions
|
|
@ -14,6 +14,14 @@ public class ConnectionStringServiceTests
|
|||
Assert.Equal(ConnStringFormat.Url, r.Value);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DetectFormat_Jdbc()
|
||||
{
|
||||
var r = svc.DetectFormat("jdbc:postgresql://localhost/db");
|
||||
Assert.True(r.IsSuccess);
|
||||
Assert.Equal(ConnStringFormat.Jdbc, r.Value);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DetectFormat_Npgsql()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue