コード例 #1
0
        public static MultiTable ParseMultiTable(string value)
        {
            List<string> splitValues = new List<string>(value.Split(';'));
            if (splitValues.Count < 2)
            {
                throw new Exception("ParseMultiTable error:" + value);
            }

            MultiTable multiTable = new MultiTable();
            multiTable.TableName = splitValues[0];
            multiTable.ID = splitValues[1];

            return multiTable;
        }
コード例 #2
0
        public static MultiTable ParseMultiTable(string value)
        {
            List <string> splitValues = new List <string>(value.Split(';'));

            if (splitValues.Count < 2)
            {
                throw new Exception("ParseMultiTable error:" + value);
            }

            MultiTable multiTable = new MultiTable();

            multiTable.TableName = splitValues[0];
            multiTable.ID        = splitValues[1];

            return(multiTable);
        }
コード例 #3
0
 public static string GetWriteStr(MultiTable value)
 {
     return(value.TableName + ";" + value.ID);
 }
コード例 #4
0
 public static string GetWriteStr(MultiTable value)
 {
     return value.TableName + ";" + value.ID;
 }