C# Class Disco.Services.DeviceModelExtensions

Mostra file Open project: garysharp/Disco

Public Methods

Method Description
CanDelete ( this dm, DiscoDataContext Database ) : bool
Delete ( this dm, DiscoDataContext Database ) : void
GetOrCreateDeviceModel ( this DeviceModelsSet, string Manufacturer, string Model, string ModelType ) : bool>.Tuple

Method Details

CanDelete() public static method

public static CanDelete ( this dm, DiscoDataContext Database ) : bool
dm this
Database Disco.Data.Repository.DiscoDataContext
return bool

Delete() public static method

public static Delete ( this dm, DiscoDataContext Database ) : void
dm this
Database Disco.Data.Repository.DiscoDataContext
return void

GetOrCreateDeviceModel() public static method

public static GetOrCreateDeviceModel ( this DeviceModelsSet, string Manufacturer, string Model, string ModelType ) : bool>.Tuple
DeviceModelsSet this
Manufacturer string
Model string
ModelType string
return bool>.Tuple