예제 #1
0
 public void SaveUrl(ShortUrl shortUrl)
 {
     using (var ctx = new UrlDataDataContext()) {
         uURL url = new uURL();
         url.ShortName = shortUrl.ShortName;
         url.URL       = shortUrl.URL;
         ctx.uURLs.InsertOnSubmit(url);
         ctx.SubmitChanges();
     }
 }
예제 #2
0
 partial void DeleteuURL(uURL instance);
예제 #3
0
 partial void UpdateuURL(uURL instance);
예제 #4
0
 partial void InsertuURL(uURL instance);
예제 #5
0
 partial void DeleteuURL(uURL instance);
예제 #6
0
 partial void UpdateuURL(uURL instance);
예제 #7
0
 partial void InsertuURL(uURL instance);