public void addItem(string urlString, string distanceText, int distanceInSeconds)
        {
            Flatmate fm = new Flatmate
            {
                URL = urlString,
                DistanceInSeconds = distanceInSeconds,
                DistanceText      = distanceText
            };

            db.Flatmates.InsertOnSubmit(fm);
            db.SubmitChanges();
        }
예제 #2
0
 partial void DeleteFlatmate(Flatmate instance);
예제 #3
0
 partial void UpdateFlatmate(Flatmate instance);
예제 #4
0
 partial void InsertFlatmate(Flatmate instance);