C# 클래스 vwarDAL.MySqlMetadataStore

상속: vwarDAL.IMetadataStore
파일 보기 프로젝트 열기: adlnet/3D-Repository

공개 메소드들

메소드 설명
AddMissingTexture ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool

AddSupportingFile ( vwarDAL.ContentObject co, string filename, string description, string dsid ) : void

AddTextureReference ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool

DeleteContentObject ( vwarDAL.ContentObject co ) : void

Dispose ( ) : void
GetAllContentObjects ( ) : IEnumerable

GetAllContentObjects ( string UserName ) : IEnumerable
GetContentObjectById ( string pid, bool updateViews, bool getReviews = true, int revision = -1 ) : vwarDAL.ContentObject

GetContentObjectCount ( string identity ) : int
GetContentObjectsByField ( string field, string value, string identity ) : IEnumerable
GetContentObjectsByKeywords ( string keywords, string identity ) : IEnumerable
GetObjectsWithRange ( string query, int count, int start, SortOrder order, string username ) : IEnumerable

IncrementDownloads ( string id ) : void

InsertContentObject ( vwarDAL.ContentObject co ) : void

InsertContentRevision ( vwarDAL.ContentObject co ) : void

InsertReview ( int rating, string text, string submitterEmail, string contentObjectId ) : void

KillODBCConnection ( System myConn ) : bool
MySqlMetadataStore ( string connectionString ) : System

RemoveAllKeywords ( vwarDAL.ContentObject co ) : bool

RemoveKeyword ( vwarDAL.ContentObject co, string keyword ) : bool

RemoveMissingTexture ( vwarDAL.ContentObject co, string filename ) : bool

RemoveSupportingFile ( vwarDAL.ContentObject co, string filename ) : bool

RemoveTextureReference ( vwarDAL.ContentObject co, string filename ) : bool

UpdateContentObject ( vwarDAL.ContentObject co ) : void

비공개 메소드들

메소드 설명
FillCommandFromContentObject ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcCommand command ) : void

FillContentObjectFromResultSet ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcDataReader resultSet ) : void

FillContentObjectLightLoad ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcDataReader resultSet ) : void

GetConnection ( ) : System.Data.Odbc.OdbcConnection
LoadKeywords ( System.Data.Odbc.OdbcConnection conn, string PID ) : String

LoadMissingTextures ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcConnection connection ) : void

LoadReviews ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcConnection connection ) : void

LoadSupportingFiles ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcConnection connection ) : bool

LoadTextureReferences ( vwarDAL.ContentObject co, System.Data.Odbc.OdbcConnection connection ) : void

SaveKeywords ( System.Data.Odbc.OdbcConnection conn, vwarDAL.ContentObject co, int id ) : void

setContentObjectCount ( System.Data.Odbc.OdbcConnection conn, string identity ) : void

메소드 상세

AddMissingTexture() 공개 메소드

public AddMissingTexture ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool
co vwarDAL.ContentObject
filename string
type string
UVset int
리턴 bool

AddSupportingFile() 공개 메소드

public AddSupportingFile ( vwarDAL.ContentObject co, string filename, string description, string dsid ) : void
co vwarDAL.ContentObject
filename string
description string
dsid string
리턴 void

AddTextureReference() 공개 메소드

public AddTextureReference ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool
co vwarDAL.ContentObject
filename string
type string
UVset int
리턴 bool

DeleteContentObject() 공개 메소드

public DeleteContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAllContentObjects() 공개 메소드

public GetAllContentObjects ( ) : IEnumerable
리턴 IEnumerable

GetAllContentObjects() 공개 메소드

public GetAllContentObjects ( string UserName ) : IEnumerable
UserName string
리턴 IEnumerable

GetContentObjectById() 공개 메소드

public GetContentObjectById ( string pid, bool updateViews, bool getReviews = true, int revision = -1 ) : vwarDAL.ContentObject
pid string
updateViews bool
getReviews bool
revision int
리턴 vwarDAL.ContentObject

GetContentObjectCount() 공개 메소드

public GetContentObjectCount ( string identity ) : int
identity string
리턴 int

GetContentObjectsByField() 공개 메소드

public GetContentObjectsByField ( string field, string value, string identity ) : IEnumerable
field string
value string
identity string
리턴 IEnumerable

GetContentObjectsByKeywords() 공개 메소드

public GetContentObjectsByKeywords ( string keywords, string identity ) : IEnumerable
keywords string
identity string
리턴 IEnumerable

GetObjectsWithRange() 공개 메소드

public GetObjectsWithRange ( string query, int count, int start, SortOrder order, string username ) : IEnumerable
query string
count int
start int
order SortOrder
username string
리턴 IEnumerable

IncrementDownloads() 공개 메소드

public IncrementDownloads ( string id ) : void
id string
리턴 void

InsertContentObject() 공개 메소드

public InsertContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

InsertContentRevision() 공개 메소드

public InsertContentRevision ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

InsertReview() 공개 메소드

public InsertReview ( int rating, string text, string submitterEmail, string contentObjectId ) : void
rating int
text string
submitterEmail string
contentObjectId string
리턴 void

KillODBCConnection() 공개 정적인 메소드

public static KillODBCConnection ( System myConn ) : bool
myConn System
리턴 bool

MySqlMetadataStore() 공개 메소드

public MySqlMetadataStore ( string connectionString ) : System
connectionString string
리턴 System

RemoveAllKeywords() 공개 메소드

public RemoveAllKeywords ( vwarDAL.ContentObject co ) : bool
co vwarDAL.ContentObject
리턴 bool

RemoveKeyword() 공개 메소드

public RemoveKeyword ( vwarDAL.ContentObject co, string keyword ) : bool
co vwarDAL.ContentObject
keyword string
리턴 bool

RemoveMissingTexture() 공개 메소드

public RemoveMissingTexture ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

RemoveSupportingFile() 공개 메소드

public RemoveSupportingFile ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

RemoveTextureReference() 공개 메소드

public RemoveTextureReference ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

UpdateContentObject() 공개 메소드

public UpdateContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void