C# 클래스 OpenSim.Data.MSSQL.MSSQLAssetData

A MSSQL Interface for the Asset server
상속: AssetDataBase
파일 보기 프로젝트 열기: mcortez/opensim

공개 메소드들

메소드 설명
Delete ( string id ) : bool
Dispose ( ) : void
ExistsAsset ( UUID uuid ) : bool

Check if asset exist in m_database

FetchAssetMetadataSet ( int start, int count ) : List

Returns a list of AssetMetadata objects. The list is a subset of the entire data set offset by start containing count elements.

GetAsset ( UUID assetID ) : OpenSim.Framework.AssetBase

Fetch Asset from m_database

Initialise ( ) : void

Initialises asset interface

Initialise ( string connectionString ) : void

Initialises asset interface

StoreAsset ( OpenSim.Framework.AssetBase asset ) : void

Create asset in m_database

비공개 메소드들

메소드 설명
InsertAsset ( OpenSim.Framework.AssetBase asset ) : void
UpdateAsset ( OpenSim.Framework.AssetBase asset ) : void

Update asset in m_database

메소드 상세

Delete() 공개 메소드

public Delete ( string id ) : bool
id string
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExistsAsset() 공개 메소드

Check if asset exist in m_database
public ExistsAsset ( UUID uuid ) : bool
uuid UUID
리턴 bool

FetchAssetMetadataSet() 공개 메소드

Returns a list of AssetMetadata objects. The list is a subset of the entire data set offset by start containing count elements.
public FetchAssetMetadataSet ( int start, int count ) : List
start int The number of results to discard from the total data set.
count int The number of rows the returned list should contain.
리턴 List

GetAsset() 공개 메소드

Fetch Asset from m_database
public GetAsset ( UUID assetID ) : OpenSim.Framework.AssetBase
assetID UUID the asset UUID
리턴 OpenSim.Framework.AssetBase

Initialise() 공개 메소드

Initialises asset interface

public Initialise ( ) : void
리턴 void

Initialise() 공개 메소드

Initialises asset interface
public Initialise ( string connectionString ) : void
connectionString string connect string
리턴 void

StoreAsset() 공개 메소드

Create asset in m_database
public StoreAsset ( OpenSim.Framework.AssetBase asset ) : void
asset OpenSim.Framework.AssetBase the asset
리턴 void