Type of issue
Typo
Description
Hi there,
It's my understanding that this statement in the DataRow.Delete docs (going back many years I believe):
"If the RowState of the row is Added, the RowState becomes Detached and the row is removed from the table when you call AcceptChanges."
Isn't entirely correct since AFAIK AcceptChanges doesn't need to be called to remove an "Added" record. I believe it's immediately removed from the table when DataRow.Delete is called. Can someone clarify the situation and correct the docs or set me straight if I'm mistaken about something. Thanks.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.data.datarow.delete?view=net-10.0#system-data-datarow-delete
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Data/DataRow.xml
Document Version Independent Id
446c9a7c-9b96-ff1f-8e23-e14a800e70c5
Platform Id
4e1bfe0e-f1a1-5f51-c5ab-5e8e286cc589
Article author
@dotnet-bot
Type of issue
Typo
Description
Hi there,
It's my understanding that this statement in the DataRow.Delete docs (going back many years I believe):
"If the RowState of the row is Added, the RowState becomes Detached and the row is removed from the table when you call AcceptChanges."
Isn't entirely correct since AFAIK AcceptChanges doesn't need to be called to remove an "Added" record. I believe it's immediately removed from the table when DataRow.Delete is called. Can someone clarify the situation and correct the docs or set me straight if I'm mistaken about something. Thanks.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.data.datarow.delete?view=net-10.0#system-data-datarow-delete
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Data/DataRow.xml
Document Version Independent Id
446c9a7c-9b96-ff1f-8e23-e14a800e70c5
Platform Id
4e1bfe0e-f1a1-5f51-c5ab-5e8e286cc589
Article author
@dotnet-bot