Class FCSqlExec
Inheritance
System.Object
FCSqlExec
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FChoice.Foundation.Clarify.Compatibility
Assembly: FChoice.Foundation.Clarify.Compatibility.dll
Syntax
[ComVisible(true)]
[Guid("DA8E45C3-FD13-4ab4-8CCD-8E3DF8635519")]
[ClassInterface(ClassInterfaceType.None)]
public sealed class FCSqlExec : IFCSqlExec
Properties
CurrentConnection
Declaration
[ComVisible(false)]
public IDbConnection CurrentConnection { get; }
Property Value
Type | Description |
---|---|
System.Data.IDbConnection |
Records
Declaration
public Recordset Records { get; }
Property Value
Type | Description |
---|---|
ADODB.Recordset |
StayConnected
Declaration
public bool StayConnected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AddSqlParameter(Object)
Declaration
public void AddSqlParameter(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
CloseConnection()
Declaration
public void CloseConnection()
Execute(String)
Declaration
public void Execute(string SqlStr)
Parameters
Type | Name | Description |
---|---|---|
System.String | SqlStr |
ExecuteReturnRows(String)
Declaration
public void ExecuteReturnRows(string sqlStatement)
Parameters
Type | Name | Description |
---|---|---|
System.String | sqlStatement |
FreeConnection()
Declaration
public void FreeConnection()
OpenConnection(String, String, String, String, String)
Declaration
public void OpenConnection(string TheDB, string UserName, string password, string DBServer, string DBName)
Parameters
Type | Name | Description |
---|---|---|
System.String | TheDB | |
System.String | UserName | |
System.String | password | |
System.String | DBServer | |
System.String | DBName |