public void addNewTweet(string _text, DateTime _createTime, string _userName) { Tweet t = new Tweet() { Text = _text, CreateTime = _createTime, UserName = _userName }; dc.Tweets.InsertOnSubmit(t); submit(); }
private void detach_Tweets(Tweet entity) { this.SendPropertyChanging(); entity.AspNetUser = null; }
private void attach_Tweets(Tweet entity) { this.SendPropertyChanging(); entity.AspNetUser = this; }
partial void DeleteTweet(Tweet instance);
partial void UpdateTweet(Tweet instance);
partial void InsertTweet(Tweet instance);