C# Класс Warehouse.Depot

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DepotKey string
Description string
ID string
Modified System.DateTime
Name string
Organization Organization
UrlName string

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

Метод Описание
CanAddSoftware ( Software software ) : bool
FindSoftware ( Software software ) : Software

Find software in depot (searches in suits)

FindSoftware ( string id ) : Software

Find software in depot (searches in suits)

GetDepotWhereSoftwareExists ( Software software ) : IList

Get list of depot where software exists in

RegisterHooks ( ) : void

Register database commit hooks

SetModified ( ) : void

Call this when you want to the External Rest API to get the latest version and not a cahced one

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

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

Generate unique "storekey" depot key.

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

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

public CanAddSoftware ( Software software ) : bool
software Software
Результат bool

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

Find software in depot (searches in suits)
public FindSoftware ( Software software ) : Software
software Software Software
Результат Software

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

Find software in depot (searches in suits)
public FindSoftware ( string id ) : Software
id string Software ID
Результат Software

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

Get list of depot where software exists in
public static GetDepotWhereSoftwareExists ( Software software ) : IList
software Software
Результат IList

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

Register database commit hooks
public static RegisterHooks ( ) : void
Результат void

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

Call this when you want to the External Rest API to get the latest version and not a cahced one
public SetModified ( ) : void
Результат void

Описание свойств

DepotKey публичное свойство

public string DepotKey
Результат string

Description публичное свойство

public string Description
Результат string

ID публичное свойство

Unique depot id per organization (based on organization.Name and this.Name)
public string ID
Результат string

Modified публичное свойство

public DateTime,System Modified
Результат System.DateTime

Name публичное свойство

public string Name
Результат string

Organization публичное свойство

public Organization,Warehouse Organization
Результат Organization

UrlName публичное свойство

Unique depot name per organization Url safe
public string UrlName
Результат string