C# Class Persistence.TrackModel

Classe rappresentante il Modello per una traccia.
Inheritance: ILoadable
Show file Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method Description
GetAsDatabaseType ( ) : dynamic

Returns the object as Database Type.

GetDatabaseType ( ) : Type

Gets type reference to the database type

LoadFromDatabaseType ( dynamic data ) : bool

Loads data from dynamic object loaded from repository

TrackModel ( ) : System

Default constructor

TrackModel ( string filename ) : System

Constructor that initializes the Model reading the information from the file

Method Details

GetAsDatabaseType() public method

Returns the object as Database Type.
public GetAsDatabaseType ( ) : dynamic
return dynamic

GetDatabaseType() public method

Gets type reference to the database type
public GetDatabaseType ( ) : Type
return System.Type

LoadFromDatabaseType() public method

Loads data from dynamic object loaded from repository
public LoadFromDatabaseType ( dynamic data ) : bool
data dynamic
return bool

TrackModel() public method

Default constructor
public TrackModel ( ) : System
return System

TrackModel() public method

Constructor that initializes the Model reading the information from the file
public TrackModel ( string filename ) : System
filename string Filename where to read the information
return System