Michael Freidgeim's Blog
MS .Net Development
posts - 335, comments - 328, trackbacks - 177
<< Shortkey Alt-B,U is ambiguous in Visual Studio 2008 team edition
|
Home
|
Convert DataSet and DataTable to Xml String helper functions >>
DataRow.SetParentRow Method
I've noticed an existence of DataRow
.
SetParentRow Method.
MSDN d
ocumentation
is quite brief: Sets the parent row of a
DataRow
with specified new parent
DataRow
.
It wasn't clear does the functions fills foreign key values in the child row from the parent one.
Thanks to
Reflector
, I confirmed, that it does
SetKeyValues
.
Please note that from performance point of view it is
important to call SetParentRow first and add the childRow to the child table later
..
posted @ Friday, July 25, 2008 8:06 PM
Print
Comments on this entry:
No comments posted yet.
Your comment:
Title:
Name:
Email:
(will not be displayed)
Website:
Comment:
Remember Me?
Please add 6 and 4 and type the answer here:
Live Comment Preview:
«
December
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
About
Contact
Login
Article Categories
ASP.NET
.Net Framework
DotNetNuke
Code Generation
Helper Classes
Archives
December, 2008 (2)
November, 2008 (7)
October, 2008 (5)
September, 2008 (3)
August, 2008 (4)
July, 2008 (15)
June, 2008 (4)
May, 2008 (12)
April, 2008 (6)
March, 2008 (6)
February, 2008 (14)
January, 2008 (11)
December, 2007 (2)
November, 2007 (3)
October, 2007 (18)
September, 2007 (7)
August, 2007 (2)
July, 2007 (6)
June, 2007 (9)
May, 2007 (10)
April, 2007 (2)
March, 2007 (19)
February, 2007 (5)
January, 2007 (3)
December, 2006 (6)
November, 2006 (6)
October, 2006 (7)
September, 2006 (10)
August, 2006 (17)
July, 2006 (9)
June, 2006 (6)
May, 2006 (9)
April, 2006 (7)
March, 2006 (21)
February, 2006 (22)
January, 2006 (11)
December, 2005 (5)
November, 2005 (5)
October, 2005 (8)
September, 2005 (5)
August, 2005 (4)
July, 2005 (2)
Post Categories
DotNetNuke
ASP.NET
.Net Framework
SQL Server
Active Directory
MS Access
Deployment
Web Services/WCF
Z39.50
Code Generation
.Net Remoting
Blogging
Testing/Debugging
MOM
Visual Studio/TFS
AJAX
CSS/DHTML/JavaScript
Workflow
Links
My del.icio.us
Syndication:
RSS
ATOM