C# 클래스 Connects.Profiles.Service.ServiceImplementation.DataIO

파일 보기 프로젝트 열기: ProfilesRNS/ProfilesRNS 1 사용 예제들

공개 메소드들

메소드 설명
AddSQLParameters ( SqlCommand sqlcmd, SqlParameter sqlParam ) : void
ConvertDepartment ( string department ) : string
ConvertDivision ( string division ) : string
ConvertInstitution ( string institution ) : string
ConvertV2ToBetaSearch ( string RDFResults, string queryid, string version, bool individual ) : string
ExecuteSQLDataCommand ( SqlCommand sqlcmd ) : void
ExecuteSQLDataCommand ( SqlCommand sqlcmd, object o ) : void
GetCommandTimeout ( ) : int
GetConvertedListItem ( List listitems, string itemtoconvert ) : string
GetCustomPubItem ( List pubs, string mpid ) : CustomPub
GetDBCommand ( SqlConnection sqlcn, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : SqlCommand
GetDBCommand ( string SqlConnectionString, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : SqlCommand
GetDBConnection ( string Connectionstring ) : SqlConnection

returns sqlconnection object

GetDepartments ( ) : List

To return the list of all the Departments

GetDivisions ( ) : List

To return the list of all the Divisions

GetFacultyRanks ( ) : List
GetFacultyRanks ( string rankstrings ) : List
GetFilters ( ) : DataSet
GetInstitutionAbbreviation ( string institutionname ) : string
GetInstitutions ( ) : List

To return the list of all the Institutions

GetPersonID ( string ecomid ) : int
GetPersonTypes ( ) : DataSet

Get a list of person types from the database. Logically reorganized to be in the correct format for the ComboTreeCheck control

GetProfileNetworkForBrowser ( Int32 personid ) : XmlDocument
GetRESTBasePath ( ) : string
GetSQLDataReader ( SqlCommand sqlcmd ) : System.Data.SqlClient.SqlDataReader
GetSQLDataReader ( string ConnectionString, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : System.Data.SqlClient.SqlDataReader
GetTotalSearchConnections ( XmlDocument searchdata, XmlNamespaceManager namespaces ) : System.Int64
Search ( XmlDocument searchoptions, bool secure ) : XmlDocument
Search ( string personid, bool secure ) : XmlDocument
SearchRequest ( string searchstring, string exactphrase, string fname, string lname, string institution, string institutionallexcept, string department, string departmentallexcept, string division, string divisionallexcept, string classuri, string limit, string offset, string sortby, string sortdirection, string otherfilters, string personid, string ecomid, string harvardid ) : XmlDocument
SessionCreate ( Connects.Profiles.Service.ServiceImplementation.Session &session ) : void

Used to create a custom Profiles Session instance. This instance is used to track and store user activity as a form of Profiles Network.

SessionUpdate ( Connects.Profiles.Service.ServiceImplementation.Session &session ) : void

Used to create a custom Profiles Session instance. This instance is used to track and store user activity as a form of Profiles Network.

비공개 메소드들

메소드 설명
DepartmentSort ( string direction ) : string
DivisionSort ( string direction ) : string
FilterSort ( string direction ) : string
GetCustomPubs ( System.Int64 nodeid ) : List
GetOtherOptions ( string otheroptions ) : List
GetPersonData ( Int32 PersonId ) : PersonData
GetPersonID ( System.Int64 nodeid ) : int
GetPubCount ( System.Int64 nodeid ) : int
InstitutionSort ( string direction ) : string
NameSort ( string direction ) : string
TitleSort ( string direction ) : string

메소드 상세

AddSQLParameters() 공개 메소드

public AddSQLParameters ( SqlCommand sqlcmd, SqlParameter sqlParam ) : void
sqlcmd System.Data.SqlClient.SqlCommand
sqlParam System.Data.SqlClient.SqlParameter
리턴 void

ConvertDepartment() 공개 메소드

public ConvertDepartment ( string department ) : string
department string
리턴 string

ConvertDivision() 공개 메소드

public ConvertDivision ( string division ) : string
division string
리턴 string

ConvertInstitution() 공개 메소드

public ConvertInstitution ( string institution ) : string
institution string
리턴 string

ConvertV2ToBetaSearch() 공개 메소드

public ConvertV2ToBetaSearch ( string RDFResults, string queryid, string version, bool individual ) : string
RDFResults string
queryid string
version string
individual bool
리턴 string

ExecuteSQLDataCommand() 공개 메소드

public ExecuteSQLDataCommand ( SqlCommand sqlcmd ) : void
sqlcmd System.Data.SqlClient.SqlCommand
리턴 void

ExecuteSQLDataCommand() 공개 메소드

public ExecuteSQLDataCommand ( SqlCommand sqlcmd, object o ) : void
sqlcmd System.Data.SqlClient.SqlCommand
o object
리턴 void

GetCommandTimeout() 공개 메소드

public GetCommandTimeout ( ) : int
리턴 int

GetConvertedListItem() 공개 메소드

public GetConvertedListItem ( List listitems, string itemtoconvert ) : string
listitems List
itemtoconvert string
리턴 string

GetCustomPubItem() 공개 메소드

public GetCustomPubItem ( List pubs, string mpid ) : CustomPub
pubs List
mpid string
리턴 CustomPub

GetDBCommand() 공개 메소드

public GetDBCommand ( SqlConnection sqlcn, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : SqlCommand
sqlcn System.Data.SqlClient.SqlConnection
CmdText String
CmdType CommandType
CmdBehavior CommandBehavior
sqlParam System.Data.SqlClient.SqlParameter
리턴 System.Data.SqlClient.SqlCommand

GetDBCommand() 공개 메소드

public GetDBCommand ( string SqlConnectionString, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : SqlCommand
SqlConnectionString string
CmdText String
CmdType CommandType
CmdBehavior CommandBehavior
sqlParam System.Data.SqlClient.SqlParameter
리턴 System.Data.SqlClient.SqlCommand

GetDBConnection() 공개 메소드

returns sqlconnection object
public GetDBConnection ( string Connectionstring ) : SqlConnection
Connectionstring string
리턴 System.Data.SqlClient.SqlConnection

GetDepartments() 공개 메소드

To return the list of all the Departments
public GetDepartments ( ) : List
리턴 List

GetDivisions() 공개 메소드

To return the list of all the Divisions
public GetDivisions ( ) : List
리턴 List

GetFacultyRanks() 공개 메소드

public GetFacultyRanks ( ) : List
리턴 List

GetFacultyRanks() 공개 메소드

public GetFacultyRanks ( string rankstrings ) : List
rankstrings string
리턴 List

GetFilters() 공개 메소드

public GetFilters ( ) : DataSet
리턴 System.Data.DataSet

GetInstitutionAbbreviation() 공개 메소드

public GetInstitutionAbbreviation ( string institutionname ) : string
institutionname string
리턴 string

GetInstitutions() 공개 메소드

To return the list of all the Institutions
public GetInstitutions ( ) : List
리턴 List

GetPersonID() 공개 메소드

public GetPersonID ( string ecomid ) : int
ecomid string
리턴 int

GetPersonTypes() 공개 메소드

Get a list of person types from the database. Logically reorganized to be in the correct format for the ComboTreeCheck control
public GetPersonTypes ( ) : DataSet
리턴 System.Data.DataSet

GetProfileNetworkForBrowser() 공개 메소드

public GetProfileNetworkForBrowser ( Int32 personid ) : XmlDocument
personid System.Int32
리턴 System.Xml.XmlDocument

GetRESTBasePath() 공개 메소드

public GetRESTBasePath ( ) : string
리턴 string

GetSQLDataReader() 공개 메소드

public GetSQLDataReader ( SqlCommand sqlcmd ) : System.Data.SqlClient.SqlDataReader
sqlcmd System.Data.SqlClient.SqlCommand
리턴 System.Data.SqlClient.SqlDataReader

GetSQLDataReader() 공개 메소드

public GetSQLDataReader ( string ConnectionString, String CmdText, CommandType CmdType, CommandBehavior CmdBehavior, SqlParameter sqlParam ) : System.Data.SqlClient.SqlDataReader
ConnectionString string
CmdText String
CmdType CommandType
CmdBehavior CommandBehavior
sqlParam System.Data.SqlClient.SqlParameter
리턴 System.Data.SqlClient.SqlDataReader

GetTotalSearchConnections() 공개 메소드

public GetTotalSearchConnections ( XmlDocument searchdata, XmlNamespaceManager namespaces ) : System.Int64
searchdata System.Xml.XmlDocument
namespaces System.Xml.XmlNamespaceManager
리턴 System.Int64

Search() 공개 메소드

public Search ( XmlDocument searchoptions, bool secure ) : XmlDocument
searchoptions System.Xml.XmlDocument
secure bool
리턴 System.Xml.XmlDocument

Search() 공개 메소드

public Search ( string personid, bool secure ) : XmlDocument
personid string
secure bool
리턴 System.Xml.XmlDocument

SearchRequest() 공개 메소드

public SearchRequest ( string searchstring, string exactphrase, string fname, string lname, string institution, string institutionallexcept, string department, string departmentallexcept, string division, string divisionallexcept, string classuri, string limit, string offset, string sortby, string sortdirection, string otherfilters, string personid, string ecomid, string harvardid ) : XmlDocument
searchstring string
exactphrase string
fname string
lname string
institution string
institutionallexcept string
department string
departmentallexcept string
division string
divisionallexcept string
classuri string
limit string
offset string
sortby string
sortdirection string
otherfilters string
personid string
ecomid string
harvardid string
리턴 System.Xml.XmlDocument

SessionCreate() 공개 메소드

Used to create a custom Profiles Session instance. This instance is used to track and store user activity as a form of Profiles Network.
public SessionCreate ( Connects.Profiles.Service.ServiceImplementation.Session &session ) : void
session Connects.Profiles.Service.ServiceImplementation.Session ref of Framework.Session object that stores the state of a Profiles user session
리턴 void

SessionUpdate() 공개 메소드

Used to create a custom Profiles Session instance. This instance is used to track and store user activity as a form of Profiles Network.
public SessionUpdate ( Connects.Profiles.Service.ServiceImplementation.Session &session ) : void
session Connects.Profiles.Service.ServiceImplementation.Session ref of Framework.Session object that stores the state of a Profiles user session
리턴 void