Export (0) Print
Expand All

ModelStore.CreateIdentifier Method (Boolean, String[])

Visual Studio 2010

Creates a unique model identifier by using the provided case-sensitive indication and array of part names.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

public ModelIdentifier CreateIdentifier(
	bool overrideCase,
	params string[] parts
)

Parameters

overrideCase
Type: System.Boolean
true for case-insensitive; false for case-sensitive.
parts
Type: System.String[]
A param array of part names.

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A unique identifier. If an identifier with the same parts already exists, that identifier is returned.

An element named "dbo.MyTable" would be represented by a name parts array with "dbo" and "MyTable".

Community Additions

ADD
Show:
© 2014 Microsoft