Esempio n. 1
0
        protected ValueEntry <T> EnsureCell <T>(string pAttributeName, T pDefaultValue)
        {
            table.EnsureField <T>(pAttributeName);
            ValueEntry <T> v = table.GetValueEntryEnsureDefault <T>(objectId, pAttributeName, pDefaultValue);

            return(v);
        }
Esempio n. 2
0
 public void CreateNewRelayEntry(TableTwo pTable, string pClassName)
 {
     table    = pTable;
     objectId = table.CreateRow().row;
     table.EnsureField <string>(CSHARP_CLASS_FIELD_NAME);
     table.SetValue <string>(objectId, CSHARP_CLASS_FIELD_NAME, pClassName);
     SetupCells();
 }