C# Class Disco.Services.Devices.Importing.DeviceImportFieldBase

Inheritance: IDeviceImportField
ファイルを表示 Open project: garysharp/Disco

Public Methods

Method Description
Apply ( DiscoDataContext Database, Device Device ) : bool
GuessHeader ( DiscoDataContext Database, DeviceImportContext Context ) : int?
Parse ( DiscoDataContext Database, IDeviceImportCache Cache, DeviceImportContext Context, int RecordIndex, string DeviceSerialNumber, Device ExistingDevice, string>.Dictionary Values, string Value ) : bool

Protected Methods

Method Description
Error ( string Message ) : bool
Success ( System.Data.EntityState Action ) : bool

Method Details

Apply() public abstract method

public abstract Apply ( DiscoDataContext Database, Device Device ) : bool
Database Disco.Data.Repository.DiscoDataContext
Device Disco.Models.Repository.Device
return bool

Error() protected method

protected Error ( string Message ) : bool
Message string
return bool

GuessHeader() public abstract method

public abstract GuessHeader ( DiscoDataContext Database, DeviceImportContext Context ) : int?
Database Disco.Data.Repository.DiscoDataContext
Context DeviceImportContext
return int?

Parse() public abstract method

public abstract Parse ( DiscoDataContext Database, IDeviceImportCache Cache, DeviceImportContext Context, int RecordIndex, string DeviceSerialNumber, Device ExistingDevice, string>.Dictionary Values, string Value ) : bool
Database Disco.Data.Repository.DiscoDataContext
Cache IDeviceImportCache
Context DeviceImportContext
RecordIndex int
DeviceSerialNumber string
ExistingDevice Disco.Models.Repository.Device
Values string>.Dictionary
Value string
return bool

Success() protected method

protected Success ( System.Data.EntityState Action ) : bool
Action System.Data.EntityState
return bool