C# Class CityDataModel.DataAccess

This is the data access layer. Whenever code wants to get/put/search something in the database, it should use this class like this: using(var model = DataAccess.Get()){ model.(whatever i want) }
Inheritance: IDisposable
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
ConnectionString string

Méthodes publiques

Méthode Description
DataAccess ( DB db ) : System
Dispose ( ) : void
Get ( ) : DataAccess

Méthodes protégées

Méthode Description
Dispose ( bool Disposing ) : void

Method Details

DataAccess() public méthode

public DataAccess ( DB db ) : System
db DB
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool Disposing ) : void
Disposing bool
Résultat void

Get() public static méthode

public static Get ( ) : DataAccess
Résultat DataAccess

Property Details

ConnectionString public_oe static_oe property

public static string ConnectionString
Résultat string