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(); }
partial void DeleteFlatmate(Flatmate instance);
partial void UpdateFlatmate(Flatmate instance);
partial void InsertFlatmate(Flatmate instance);