C# Class OurUmbraco.Powers.BusinessLogic.Data

显示文件 Open project: umbraco/OurUmbraco

Public Methods

Method Description
GetDataSet ( string sql, string elementName ) : XPathNodeIterator
GetDataSetAsNode ( string sql, string elementName ) : XmlNode
GetDataSetAsNode ( string connectionstring, string sql, string elementName ) : XmlNode

Private Methods

Method Description
getDataSetFromSql ( string connection, string sql, string tableName ) : DataSet

Gets the dataset from SQL using ADO.NET.

Method Details

GetDataSet() public static method

public static GetDataSet ( string sql, string elementName ) : XPathNodeIterator
sql string
elementName string
return System.Xml.XPath.XPathNodeIterator

GetDataSetAsNode() public static method

public static GetDataSetAsNode ( string sql, string elementName ) : XmlNode
sql string
elementName string
return System.Xml.XmlNode

GetDataSetAsNode() public static method

public static GetDataSetAsNode ( string connectionstring, string sql, string elementName ) : XmlNode
connectionstring string
sql string
elementName string
return System.Xml.XmlNode