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();
        }
Beispiel #2
0
 partial void DeleteFlatmate(Flatmate instance);
Beispiel #3
0
 partial void UpdateFlatmate(Flatmate instance);
Beispiel #4
0
 partial void InsertFlatmate(Flatmate instance);