public void AddElementToSet(CUBRIDOid oid, String attributeName, Object value) public void DropElementInSet(CUBRIDOid oid, String attributeName, Object value) public void UpdateElementInSequence(CUBRIDOid oid, String attributeName, int index, Object value) public void InsertElementInSequence(CUBRIDOid oid, String attributeName, int index, Object value) public void DropElementInSequence(CUBRIDOid oid, String attributeName, int index) public int GetCollectionSize(CUBRIDOid oid, String attributeName)
using (CUBRIDCommand cmd = new CUBRIDCommand("SELECT * FROM t", conn))
{
using (DbDataReader reader = cmd.ExecuteReader())
{
while (reader.Read())
{
object[] o = (object[])reader0;
for (int i = 0; i <SeqSize; i++)
{
//...
}
}
}
}
conn.InsertElementInSequence(oid, attributeName, 5, value);
SeqSize = conn.GetCollectionSize(oid, attributeName);
using (CUBRIDCommandcmd = newCUBRIDCommand("SELECT * FROM t", conn))
{
using (DbDataReader reader = cmd.ExecuteReader())
{
while (reader.Read())
{
int[] expected = { 7, 1, 2, 3, 7, 4, 5, 6 };
object[] o = (object[])reader0;
}
}
}
conn.DropElementInSequence(oid, attributeName, 5);
SeqSize = conn.GetCollectionSize(oid, attributeName);
Latest AnnouncementsCUBRID ADO.NET Driver Stable 1.0 version has been released Official ADO.NET Driver for CUBRID is now available Installation Instructions [C...
5 days ago
Latest AnnouncementsCUBRID ADO.NET Driver Stable 1.0 version has been released Official ADO.NET Driver for CUBRID is now available Installation Instructions [C...
3 months ago