TestEnvironment TestEnvironment Class

Syntax

Declaration

public static class TestEnvironmentPublic Module TestEnvironment

Inheritance Hierarchy

  • System.Object
    System.Object
  • TestEnvironment
    TestEnvironment

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Methods summary

Properties

  • Config
    Config
    public static IConfiguration Config { get; }Public Shared ReadOnly Property Config As IConfiguration

    Property Value

    • IConfiguration
      IConfiguration
  • DefaultConnection
    DefaultConnection
    public static string DefaultConnection { get; }Public Shared ReadOnly Property DefaultConnection As String

    Property Value

    • System.String
      System.String
  • ElasticPoolName
    ElasticPoolName
    public static string ElasticPoolName { get; }Public Shared ReadOnly Property ElasticPoolName As String

    Property Value

    • System.String
      System.String
  • IsSqlAzure
    IsSqlAzure
    public static bool IsSqlAzure { get; }Public Shared ReadOnly Property IsSqlAzure As Boolean

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • GetFlag(String)
    GetFlag(String)
    public static bool ? GetFlag(string key)Public Shared Function GetFlag(key As String) As Boolean?

    Parameters

    • key
      System.String
      System.String

    Returns

    • System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
  • GetInt(String)
    GetInt(String)
    public static int ? GetInt(string key)Public Shared Function GetInt(key As String) As Integer?

    Parameters

    • key
      System.String
      System.String

    Returns

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll