본문 바로가기

프로그래밍/WinForm

[C#] Generic Convert To Entity, List, DataTable

[C#] Generic Convert To Entity, List, DataTable

 

 

1. ConvertToEntity

 

DataRow => T Entity

 

 

2. ConvertToList

 

DataTable => List<T>

 

 

3. ConvertToDataTable

 

Obect => DataTable