예제 #1
0
 public static Cast CastForUrl(Channel c, string  url)
 {
     Cast k = new Cast (c);
     int id = k.IdForUrl (url);
     if (id >= 0) {
         k.id = id;
         k.FromDB ();
         return k;
     } else {
         return null;
     }
 }