예제 #1
0
파일: InnerRoad.cs 프로젝트: Leooonard/CGXM
 public bool saveWithoutCheck()
 {
     string sqlCommand = String.Format(@"insert into InnerRoad (prID,vID,irName,irPath) values ({0},{1},'{2}','{3}')"
         , prID, vID, irName, irPath);
     Sql sql = new Sql();
     return sql.insertInnerRoad(sqlCommand);
 }
예제 #2
0
파일: InnerRoad.cs 프로젝트: Leooonard/CGXM
 public override bool save()
 {
     if (!isValid(new List<string>() { "irID" }))
         return false;
     string sqlCommand = String.Format(@"insert into InnerRoad (prID,vID,irName,irPath) values ({0},{1},'{2}','{3}')"
         , prID, vID, irName, irPath);
     Sql sql = new Sql();
     return sql.insertInnerRoad(sqlCommand);
 }