3 public abstract class ThingWithOrganizationId
5 public Guid OrganizationId
;
8 public class Thing
: ThingWithOrganizationId
12 public abstract class BaseService
<TConstraint
>
14 public abstract void Save
<T
> (T newThing
) where T
: TConstraint
;
17 public class DerivedService
:BaseService
<Thing
>
19 public override void Save
<TThing
>(TThing newThing
)
21 Console
.WriteLine (newThing
.OrganizationId
);