the SqlDataClass, it will hold an object and its type. Comes with functions to get its true value, to store a value, or to get/set a string value

Namespace:  SqlTools
Assembly:  SqlTools (in SqlTools.dll) Version: 3.6.0.0 (3.6.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class SqlDataClass
Public Class SqlDataClass
public ref class SqlDataClass

Members

            
 All Members  Constructors   Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
SqlDataClass()()()
empty constructor
SqlDataClass(String, dType)
overloaded constructor that takes in string and type all at once
SqlDataClass(String, String)
overloaded constructor that takes in string,string
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
errors
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
get()()()
returns the value stored in data in the same format as it was stored in the database.
getBool()()()
returns data as a bool no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
getDateTime()()()
returns data as a DateTime no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
getDecimal()()()
returns data as a Decimal no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
getDouble()()()
returns data as a double no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
getInt()()()
returns data as an int no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
getString()()()
returns data as a string no matter what the data type is for people who wish to not make a temp SqlDataClass for returns from mySqlClass
getType()()()
returns the dataType of the stored data
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
putIn(Boolean%)
putIn(ref bool) returns true/false on success
putIn(DateTime%)
putIn(ref DateTime) returns true/false on success
putIn(Decimal%)
putInt(ref Decimal) returns true/false on success
putIn(Double%)
putIn(ref double) returns true/false on success
putIn(Int32%)
putIn(ref int) returns true/false on success
putIn(Object%)
putIn(ref object) returns true/false on success
putIn(String%)
putIn(ref string)
store(String, dType)
stores the data and type to this class
store(String, String)
stores the data and type to this class (converts string sType to dType)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::.Object
  SqlTools..::.SqlDataClass

See Also