C# Класс LibiadaWeb.Models.Repositories.Catalogs.SequenceAttributeRepository

The sequence attribute.
Наследование: ISequenceAttributeRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateSubsequenceAttributes ( Dictionary qualifiers, bool complement, bool complementJoin, Subsequence subsequence ) : List

Creates and adds to db subsequence attributes.

Dispose ( ) : void

The dispose.

GetAttributes ( IEnumerable subsequenceIds ) : AttributeValue[]>.Dictionary

The get attributes.

SequenceAttributeRepository ( LibiadaWebEntities db ) : System

Initializes a new instance of the SequenceAttributeRepository class.

Приватные методы

Метод Описание
CleanAttributeValue ( string attributeValue ) : string

Cleans attribute value.

CreateComplementJoinPartialAttributes ( bool complement, bool complementJoin, Subsequence subsequence ) : List

Creates complement, join and partial attributes.

CreateSequenceAttribute ( LibiadaWeb attribute, long sequenceId ) : SequenceAttribute

The create sequence attribute.

CreateSequenceAttribute ( LibiadaWeb attribute, string attributeValue, long sequenceId ) : SequenceAttribute

The create sequence attribute.

CreateSequenceAttribute ( string attributeName, string attributeValue, long sequenceId ) : SequenceAttribute

The create sequence attribute.

Описание методов

CreateSubsequenceAttributes() публичный Метод

Creates and adds to db subsequence attributes.
/// Thrown if qualifier has more than one value. ///
public CreateSubsequenceAttributes ( Dictionary qualifiers, bool complement, bool complementJoin, Subsequence subsequence ) : List
qualifiers Dictionary /// The attributes to add. ///
complement bool /// Complement flag. ///
complementJoin bool /// Complement join flag. ///
subsequence Subsequence /// The subsequence. ///
Результат List

Dispose() публичный Метод

The dispose.
public Dispose ( ) : void
Результат void

GetAttributes() публичный Метод

The get attributes.
public GetAttributes ( IEnumerable subsequenceIds ) : AttributeValue[]>.Dictionary
subsequenceIds IEnumerable /// The subsequences ids. ///
Результат AttributeValue[]>.Dictionary

SequenceAttributeRepository() публичный Метод

Initializes a new instance of the SequenceAttributeRepository class.
public SequenceAttributeRepository ( LibiadaWebEntities db ) : System
db LibiadaWebEntities /// The db. ///
Результат System