コード例 #1
0
ファイル: FriendDAL.cs プロジェクト: juangdiaz/NYU-CourseWork
 private XElement ToXElement(Friend friend)
 {
     var node =  new XElement("Friends",
                 new XElement("ContactId1", friend.ContactId1),
                 new XElement("ContactId2", friend.ContactId2)
         );
     return node;
 }
コード例 #2
0
 partial void DeleteFriend(Friend instance);
コード例 #3
0
 partial void UpdateFriend(Friend instance);
コード例 #4
0
 partial void InsertFriend(Friend instance);
コード例 #5
0
		private void detach_Friends1(Friend entity)
		{
			this.SendPropertyChanging();
			entity.Contact1 = null;
		}
コード例 #6
0
		private void attach_Friends1(Friend entity)
		{
			this.SendPropertyChanging();
			entity.Contact1 = this;
		}