C# Class OpenSim.Data.MSSQL.MSSQLAssetData

A MSSQL Interface for the Asset server
Inheritance: AssetDataBase
Afficher le fichier Open project: mcortez/opensim

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
InsertAsset ( OpenSim.Framework.AssetBase asset ) : void
UpdateAsset ( OpenSim.Framework.AssetBase asset ) : void

Update asset in m_database

Method Details

Delete() public méthode

public Delete ( string id ) : bool
id string
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExistsAsset() public méthode

Check if asset exist in m_database
public ExistsAsset ( UUID uuid ) : bool
uuid UUID
Résultat bool

FetchAssetMetadataSet() public méthode

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.
Résultat List

GetAsset() public méthode

Fetch Asset from m_database
public GetAsset ( UUID assetID ) : OpenSim.Framework.AssetBase
assetID UUID the asset UUID
Résultat OpenSim.Framework.AssetBase

Initialise() public méthode

Initialises asset interface

public Initialise ( ) : void
Résultat void

Initialise() public méthode

Initialises asset interface
public Initialise ( string connectionString ) : void
connectionString string connect string
Résultat void

StoreAsset() public méthode

Create asset in m_database
public StoreAsset ( OpenSim.Framework.AssetBase asset ) : void
asset OpenSim.Framework.AssetBase the asset
Résultat void