C# 클래스 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) }
상속: IDisposable
파일 보기 프로젝트 열기: RHY3756547/FreeSO

공개 프로퍼티들

프로퍼티 타입 설명
ConnectionString string

공개 메소드들

메소드 설명
DataAccess ( DB db ) : System
Dispose ( ) : void
Get ( ) : DataAccess

보호된 메소드들

메소드 설명
Dispose ( bool Disposing ) : void

메소드 상세

DataAccess() 공개 메소드

public DataAccess ( DB db ) : System
db DB
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool Disposing ) : void
Disposing bool
리턴 void

Get() 공개 정적인 메소드

public static Get ( ) : DataAccess
리턴 DataAccess

프로퍼티 상세

ConnectionString 공개적으로 정적으로 프로퍼티

public static string ConnectionString
리턴 string