Class MasterDataCommonsOptions
- Namespace
- JJMasterData.Commons.Configuration.Options
- Assembly
- JJMasterData.Commons.dll
JJMasterData key/value configurations. They're populated from JJMasterData section on IConfiguration, following its implementations. On .NET Framework, add a IConfiguration builder to your application.
public sealed class MasterDataCommonsOptions
- Inheritance
-
MasterDataCommonsOptions
- Inherited Members
Properties
AdditionalConnectionStrings
public List<ConnectionString> AdditionalConnectionStrings { get; set; }
Property Value
ConnectionProvider
public DataAccessProvider ConnectionProvider { get; set; }
Property Value
ConnectionString
public required string ConnectionString { get; set; }
Property Value
IsNetFramework
[JsonIgnore]
public static bool IsNetFramework { get; }
Property Value
LocalizationTableName
Default value: tb_masterdata_resources
[Display(Name = "Localization Table Name")]
public string LocalizationTableName { get; set; }
Property Value
ReadProcedurePattern
Default value: {tablename}Get
[Display(Name = "Read Procedure Pattern")]
public string ReadProcedurePattern { get; set; }
Property Value
SecretKey
Secret key used at JJMasterDataEncryptionService
[Display(Name = "Cryptography Secret Key")]
public string? SecretKey { get; set; }
Property Value
WriteProcedurePattern
Default value: {tablename}Set
[Display(Name = "Write Procedure Pattern")]
public string WriteProcedurePattern { get; set; }
Property Value
Methods
GetConnectionString(Guid?)
public ConnectionString GetConnectionString(Guid? guid)
Parameters
guid
Guid?
Returns
GetReadProcedureName(Element)
public string GetReadProcedureName(Element element)
Parameters
element
Element
Returns
GetReadProcedureName(string)
public string GetReadProcedureName(string tableName)
Parameters
tableName
string
Returns
GetWriteProcedureName(Element)
public string GetWriteProcedureName(Element element)
Parameters
element
Element
Returns
GetWriteProcedureName(string)
public string GetWriteProcedureName(string tableName)
Parameters
tableName
string
Returns
RemoveTbPrefix(string)
public static string RemoveTbPrefix(string tableName)
Parameters
tableName
string