Show / Hide Table of Contents

Interface ITechObjectsTypesLinkEnumeration

Представляет перечень связей между типами.

Inherited Members
ITechEnumeration<ITechObjectsTypesLink>.Count
ITechEnumeration<ITechObjectsTypesLink>.this[int]
ITechEnumeration<ITechObjectsTypesLink>.Contains(ITechObjectsTypesLink)
IEnumerable<ITechObjectsTypesLink>.GetEnumerator()
Namespace: Ascon.Vertical.Core
Assembly: Ascon.Vertical.Core.dll
Syntax
public interface ITechObjectsTypesLinkEnumeration : ITechEnumeration<ITechObjectsTypesLink>, IEnumerable<ITechObjectsTypesLink>, IEnumerable

Methods

Contains(ITechObjectType, ITechObjectType, ITechLinkType, TechObjectsTypesLinkDirection)

Проверяет наличие связи в перечне.

Declaration
bool Contains(ITechObjectType objectType1, ITechObjectType objectType2, ITechLinkType linkType, TechObjectsTypesLinkDirection direction)
Parameters
Type Name Description
ITechObjectType objectType1

Тип первого объекта.

ITechObjectType objectType2

Тип второго объекта.

ITechLinkType linkType

Тип связи.

TechObjectsTypesLinkDirection direction

Направление связи.

Returns
Type Description
bool

true - если присутствует, иначе - false.

Contains(int, int, int, TechObjectsTypesLinkDirection)

Проверяет наличие связи в перечне.

Declaration
bool Contains(int objectTypeId1, int objectTypeId2, int linkTypeId, TechObjectsTypesLinkDirection direction)
Parameters
Type Name Description
int objectTypeId1

Идентификатор типа первого объекта.

int objectTypeId2

Идентификатор типа второго объекта.

int linkTypeId

Идентификатор типа связи.

TechObjectsTypesLinkDirection direction

Направление связи.

Returns
Type Description
bool

true - если присутствует, иначе - false.

Find(ITechObjectType, ITechObjectType, ITechLinkType?, TechObjectsTypesLinkDirection?)

Производит поиск связей.

Declaration
ITechObjectsTypesLinkEnumeration Find(ITechObjectType objectType1, ITechObjectType objectType2, ITechLinkType? linkType = null, TechObjectsTypesLinkDirection? direction = null)
Parameters
Type Name Description
ITechObjectType objectType1

Тип первого объекта.

ITechObjectType objectType2

Тип второго объекта.

ITechLinkType linkType

Тип связи.

TechObjectsTypesLinkDirection? direction

Направление связи.

Returns
Type Description
ITechObjectsTypesLinkEnumeration

Перечень найденных связей.

Find(int, int, int?, TechObjectsTypesLinkDirection?)

Производит поиск связей.

Declaration
ITechObjectsTypesLinkEnumeration Find(int objectTypeId1, int objectTypeId2, int? linkTypeId = null, TechObjectsTypesLinkDirection? direction = null)
Parameters
Type Name Description
int objectTypeId1

Идентификатор типа первого объекта.

int objectTypeId2

Идентификатор типа второго объекта.

int? linkTypeId

Идентификатор типа связи.

TechObjectsTypesLinkDirection? direction

Направление связи.

Returns
Type Description
ITechObjectsTypesLinkEnumeration

Перечень найденных связей.

GetById(int)

Возвращает связь по идентификатору.

Declaration
ITechObjectsTypesLink? GetById(int id)
Parameters
Type Name Description
int id

Идентификатор связи.

Returns
Type Description
ITechObjectsTypesLink

Связь с указанным идентификатором или null.

Extension Methods

EnumerableExtensions.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>)
Back to top Copyright © 2014 - 2026 ООО «АСКОН-Бизнес-решения»