As per MSDN,
Managed Code - Code that could be understood and managed by CLR
Unmanaged Code - Code that could not handled by CLR
But I am wondering how do I identify which resource or class is CLR compliant & which Not.
I referred below links
- C# Managed Unmanaged code
How do we distinguish between managed and unmanaged resources in C#? Is TextFieldParser unmanaged?
public class Customer { //What makes this CLR compliant } public class DbConnectionHandler: IDisposable { //Database Connection & other related stuff //What makes this CLR Non-Compliant }
If I am using EF (LINQ to Entities), it is translated to native SQL. SO all LINQ falls under Unmanaged Code category?
Thanks!