SqlSchemaAnalyzer.IdentifiedRelationship - метод
Этот метод обрабатывает обнаружение нового отношения.
Пространство имен: Microsoft.Data.Schema.Sql.SchemaModel
Сборка: Microsoft.Data.Schema.Sql (в Microsoft.Data.Schema.Sql.dll)
Синтаксис
'Декларация
Public Overridable Sub IdentifiedRelationship ( _
fragment As TSqlFragment, _
leftHandSide As SqlElementDescriptor, _
relationshipClass As ModelRelationshipClass, _
rightHandSide As SqlElementDescriptor, _
annotations As IEnumerable(Of SqlAnnotationDescriptor) _
)
public virtual void IdentifiedRelationship(
TSqlFragment fragment,
SqlElementDescriptor leftHandSide,
ModelRelationshipClass relationshipClass,
SqlElementDescriptor rightHandSide,
IEnumerable<SqlAnnotationDescriptor> annotations
)
public:
virtual void IdentifiedRelationship(
TSqlFragment^ fragment,
SqlElementDescriptor^ leftHandSide,
ModelRelationshipClass^ relationshipClass,
SqlElementDescriptor^ rightHandSide,
IEnumerable<SqlAnnotationDescriptor^>^ annotations
)
abstract IdentifiedRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
rightHandSide:SqlElementDescriptor *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
override IdentifiedRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
rightHandSide:SqlElementDescriptor *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
public function IdentifiedRelationship(
fragment : TSqlFragment,
leftHandSide : SqlElementDescriptor,
relationshipClass : ModelRelationshipClass,
rightHandSide : SqlElementDescriptor,
annotations : IEnumerable<SqlAnnotationDescriptor>
)
Параметры
- fragment
Тип: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Фрагмент, к которому принадлежит отношение.
- leftHandSide
Тип: Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
Представляет левую часть отношения.
- relationshipClass
Тип: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
Представляет тип отношения.
- rightHandSide
Тип: Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
Представляет правую часть отношения.
- annotations
Тип: System.Collections.Generic.IEnumerable<SqlAnnotationDescriptor>
Заметки, связанные с отношением.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.