C# Класс Mix.Cms.Lib.ViewModels.MixAttributeSetDatas.FormPortalViewModel

Наследование: ViewModelBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ParseModelValue void
ParseValue JProperty
SaveRefDataAsync Task>
SaveRelatedDataAsync Task>
SaveValues Task>

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

Метод Описание
ExpandView ( _context = null, IDbContextTransaction _transaction = null ) : void
FilterByValueAsync ( string culture, string attributeSetName, Dictionary queryDictionary, _context = null, IDbContextTransaction _transaction = null ) : Task>>
FormPortalViewModel ( ) : Microsoft.EntityFrameworkCore.Storage
FormPortalViewModel ( model, _context = null, IDbContextTransaction _transaction = null ) : Microsoft.EntityFrameworkCore.Storage
ParseModel ( _context = null, IDbContextTransaction _transaction = null ) : MixAttributeSetData
SaveModel ( bool isSaveSubModels = false, _context = null, IDbContextTransaction _transaction = null ) : RepositoryResponse
SaveModelAsync ( bool isSaveSubModels = false, _context = null, IDbContextTransaction _transaction = null ) : Task>
SaveObjectAsync ( JObject data, string attributeSetName ) : Task>
SaveSubModelsAsync ( parent, _context, IDbContextTransaction _transaction ) : Task>

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

Метод Описание
ParseModelValue ( JToken property, UpdateViewModel item ) : void
ParseValue ( UpdateViewModel item, context, IDbContextTransaction transaction ) : JProperty
SaveRefDataAsync ( parent, context, IDbContextTransaction transaction ) : Task>
SaveRelatedDataAsync ( parent, context, IDbContextTransaction transaction ) : Task>
SaveValues ( parent, context, IDbContextTransaction transaction ) : Task>

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

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

public ExpandView ( _context = null, IDbContextTransaction _transaction = null ) : void
_transaction IDbContextTransaction
Результат void

FilterByValueAsync() публичный статический Метод

public static FilterByValueAsync ( string culture, string attributeSetName, Dictionary queryDictionary, _context = null, IDbContextTransaction _transaction = null ) : Task>>
culture string
attributeSetName string
queryDictionary Dictionary
_transaction IDbContextTransaction
Результат Task>>

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

public FormPortalViewModel ( ) : Microsoft.EntityFrameworkCore.Storage
Результат Microsoft.EntityFrameworkCore.Storage

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

public FormPortalViewModel ( model, _context = null, IDbContextTransaction _transaction = null ) : Microsoft.EntityFrameworkCore.Storage
_transaction IDbContextTransaction
Результат Microsoft.EntityFrameworkCore.Storage

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

public ParseModel ( _context = null, IDbContextTransaction _transaction = null ) : MixAttributeSetData
_transaction IDbContextTransaction
Результат MixAttributeSetData

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

public SaveModel ( bool isSaveSubModels = false, _context = null, IDbContextTransaction _transaction = null ) : RepositoryResponse
isSaveSubModels bool
_transaction IDbContextTransaction
Результат RepositoryResponse

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

public SaveModelAsync ( bool isSaveSubModels = false, _context = null, IDbContextTransaction _transaction = null ) : Task>
isSaveSubModels bool
_transaction IDbContextTransaction
Результат Task>

SaveObjectAsync() публичный статический Метод

public static SaveObjectAsync ( JObject data, string attributeSetName ) : Task>
data JObject
attributeSetName string
Результат Task>

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

public SaveSubModelsAsync ( parent, _context, IDbContextTransaction _transaction ) : Task>
_transaction IDbContextTransaction
Результат Task>