CSharpUtilities
CSharpUtilities
Class
Definition
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public class CSharpUtilities
Public Class CSharpUtilities
- Inheritance
-
System.ObjectSystem.ObjectCSharpUtilitiesCSharpUtilities
Properties
Methods
DelimitString(String) DelimitString(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string DelimitString(string value)
Public Overridable Function DelimitString(value As String) As String
- value
- System.String System.String
EscapeString(String) EscapeString(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string EscapeString(string str)
Public Overridable Function EscapeString(str As String) As String
- str
- System.String System.String
EscapeVerbatimString(String) EscapeVerbatimString(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string EscapeVerbatimString(string str)
Public Overridable Function EscapeVerbatimString(str As String) As String
- str
- System.String System.String
GenerateCSharpIdentifier(String, ICollection)
GenerateCSharpIdentifier(String, ICollection(Of String))
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateCSharpIdentifier(string identifier, ICollection<string> existingIdentifiers)
Public Overridable Function GenerateCSharpIdentifier(identifier As String, existingIdentifiers As ICollection(Of String)) As String
- identifier
- System.String System.String
- existingIdentifiers
- System.Collections.Generic.ICollection<System.String> System.Collections.Generic.ICollection(Of System.String)
GenerateCSharpIdentifier(String, ICollection, Func, String>)
GenerateCSharpIdentifier(String, ICollection(Of String), Func(Of String, ICollection(Of String), String))
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateCSharpIdentifier(string identifier, ICollection<string> existingIdentifiers, Func<string, ICollection<string>, string> uniquifier)
Public Overridable Function GenerateCSharpIdentifier(identifier As String, existingIdentifiers As ICollection(Of String), uniquifier As Func(Of String, ICollection(Of String), String)) As String
- identifier
- System.String System.String
- existingIdentifiers
- System.Collections.Generic.ICollection<System.String> System.Collections.Generic.ICollection(Of System.String)
- uniquifier
- System.Func<System.String, System.Collections.Generic.ICollection<System.String>, System.String> System.Func(Of System.String, System.Collections.Generic.ICollection(Of System.String), System.String)
GenerateLiteral(Boolean) GenerateLiteral(Boolean)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(bool value)
Public Overridable Function GenerateLiteral(value As Boolean) As String
- value
- System.Boolean System.Boolean
GenerateLiteral(Byte[]) GenerateLiteral(Byte())
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(byte[] value)
Public Overridable Function GenerateLiteral(value As Byte()) As String
- value
- System.Byte[] System.Byte()
GenerateLiteral(DateTime) GenerateLiteral(DateTime)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(DateTime value)
Public Overridable Function GenerateLiteral(value As Date) As String
- value
- System.DateTime System.DateTime
GenerateLiteral(DateTimeOffset) GenerateLiteral(DateTimeOffset)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(DateTimeOffset value)
Public Overridable Function GenerateLiteral(value As DateTimeOffset) As String
- value
- System.DateTimeOffset System.DateTimeOffset
GenerateLiteral(Decimal) GenerateLiteral(Decimal)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(decimal value)
Public Overridable Function GenerateLiteral(value As Decimal) As String
- value
- System.Decimal System.Decimal
GenerateLiteral(Double) GenerateLiteral(Double)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(double value)
Public Overridable Function GenerateLiteral(value As Double) As String
- value
- System.Double System.Double
GenerateLiteral(Guid) GenerateLiteral(Guid)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(Guid value)
Public Overridable Function GenerateLiteral(value As Guid) As String
- value
- System.Guid System.Guid
GenerateLiteral(Int32) GenerateLiteral(Int32)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(int value)
Public Overridable Function GenerateLiteral(value As Integer) As String
- value
- System.Int32 System.Int32
GenerateLiteral(Int64) GenerateLiteral(Int64)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(long value)
Public Overridable Function GenerateLiteral(value As Long) As String
- value
- System.Int64 System.Int64
GenerateLiteral(Object) GenerateLiteral(Object)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(object value)
Public Overridable Function GenerateLiteral(value As Object) As String
- value
- System.Object System.Object
GenerateLiteral(Single) GenerateLiteral(Single)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(float value)
Public Overridable Function GenerateLiteral(value As Single) As String
- value
- System.Single System.Single
GenerateLiteral(String) GenerateLiteral(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(string value)
Public Overridable Function GenerateLiteral(value As String) As String
- value
- System.String System.String
GenerateLiteral(TimeSpan) GenerateLiteral(TimeSpan)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateLiteral(TimeSpan value)
Public Overridable Function GenerateLiteral(value As TimeSpan) As String
- value
- System.TimeSpan System.TimeSpan
GenerateVerbatimStringLiteral(String) GenerateVerbatimStringLiteral(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GenerateVerbatimStringLiteral(string value)
Public Overridable Function GenerateVerbatimStringLiteral(value As String) As String
- value
- System.String System.String
GetTypeName(Type) GetTypeName(Type)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string GetTypeName(Type propertyType)
Public Overridable Function GetTypeName(propertyType As Type) As String
- propertyType
- System.Type System.Type
IsCSharpKeyword(String) IsCSharpKeyword(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual bool IsCSharpKeyword(string identifier)
Public Overridable Function IsCSharpKeyword(identifier As String) As Boolean
- identifier
- System.String System.String
IsValidIdentifier(String) IsValidIdentifier(String)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual bool IsValidIdentifier(string name)
Public Overridable Function IsValidIdentifier(name As String) As Boolean
- name
- System.String System.String
Uniquifier(String, ICollection)
Uniquifier(String, ICollection(Of String))
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public virtual string Uniquifier(string proposedIdentifier, ICollection<string> existingIdentifiers)
Public Overridable Function Uniquifier(proposedIdentifier As String, existingIdentifiers As ICollection(Of String)) As String
- proposedIdentifier
- System.String System.String
- existingIdentifiers
- System.Collections.Generic.ICollection<System.String> System.Collections.Generic.ICollection(Of System.String)