[This is preliminary documentation and is subject to change.]
Parses database field names (column names) and converts parts to human-readable description
like:
"FIRST_NAME" -> "First Name",
"FirstName" -> "First Name",
"CHART_OF_ACCOUNTS" -> "Chart of Accounts"
Namespace: NFX.ParsingAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string ParseFieldNameToDescription(
this string fieldName,
bool capitalize
)
public static string ParseFieldNameToDescription(
this string fieldName,
bool capitalize
)
<ExtensionAttribute>
Public Shared Function ParseFieldNameToDescription (
fieldName As String,
capitalize As Boolean
) As String
<ExtensionAttribute>
Public Shared Function ParseFieldNameToDescription (
fieldName As String,
capitalize As Boolean
) As String
public:
[ExtensionAttribute]
static String^ ParseFieldNameToDescription(
String^ fieldName,
bool capitalize
)
public:
[ExtensionAttribute]
static String^ ParseFieldNameToDescription(
String^ fieldName,
bool capitalize
)
static member ParseFieldNameToDescription :
fieldName : string *
capitalize : bool -> string
static member ParseFieldNameToDescription :
fieldName : string *
capitalize : bool -> string
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).