ModelStore.CreateIdentifier (Método) (Boolean, array<String )
Crea un identificador de modelo único utilizando la indicación de distinción entre mayúsculas y minúsculas y la matriz de nombres de parte proporcionadas.
Espacio de nombres: Microsoft.Data.Schema.SchemaModel
Ensamblado: Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)
Sintaxis
'Declaración
Public Function CreateIdentifier ( _
overrideCase As Boolean, _
ParamArray parts As String() _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
bool overrideCase,
params string[] parts
)
public:
ModelIdentifier^ CreateIdentifier(
bool overrideCase,
... array<String^>^ parts
)
member CreateIdentifier :
overrideCase:bool *
parts:string[] -> ModelIdentifier
public function CreateIdentifier(
overrideCase : boolean,
... parts : String[]
) : ModelIdentifier
Parámetros
- overrideCase
Tipo: System.Boolean
true si no hay distinción entre mayúsculas y minúsculas; de lo contrario, false.
- parts
Tipo: array<System.String[]
Una matriz de parámetros de los nombres de parte.
Valor devuelto
Tipo: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Un identificador único.Si ya existe un identificador con las mismas partes, se devuelve dicho identificador.
Comentarios
Un elemento denominado "dbo.MyTable" estaría representado por una matriz de elementos de nombre con "dbo" y "MyTable".
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.