I am facing a problem with sqlbulk .
I have a list of PersonModel and trying to insert or save the data into SQL server but i am getting an exeption
private static List<PersonModel> PersonModels { get; set; }
AsDataTable is an Extention Method
its throwing an exception on transaction.Commit().... System.InvalidOperationException "This SqlTransaction has completed; it is no longer usable "