iX Talk
http://beijerinc.com/support/ix/forum/

Insert Into DataLogger
http://beijerinc.com/support/ix/forum/viewtopic.php?f=4&t=2200
Page 1 of 1

Author:  ParthDesai [ Sat Jun 17, 2017 1:30 am ]
Post subject:  Insert Into DataLogger

Hello,

I am trying to insert data into datalogger using ix API but as I can see I have to pass IStorableItem[] to my Insert Query; I dn't knw from where I can get the storableItem[] List
Below is the code I have written till now
Can someone help me in resolving my issue
public void InsertData()
{
try
{
GetStorageCacheService().GetStorage(Dummy[i].Name).Query.Insert(.......);
}
catch(Exception ex){string errormsg = ex.ToString();}
}
private static IStorageCacheService GetStorageCacheService()
{
return ServiceContainerCF.GetService<IStorageCacheService>();
}

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/