PI06 i PI06-1. Docker definitions for MSSQL and Postgres. Data seeder/generator for countries and people. Entity Framework example with variants for Postgres and MSSQL
This commit is contained in:
16
DefensiveProgramming/Using/C.cs
Normal file
16
DefensiveProgramming/Using/C.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Using;
|
||||
|
||||
class C : IDisposable
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public void Dispose()
|
||||
{
|
||||
Console.WriteLine("** {0} : Dispose **", Id);
|
||||
}
|
||||
|
||||
public C(string id)
|
||||
{
|
||||
Id = id;
|
||||
Console.WriteLine("----> {0} : Ctor", Id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user