How do I make my constructor protected in when using entity framework database first?
When I generate an Entity Data Model from my database, the auto generated class contains a public constructor,
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Domain.Models
{
using System;
using System.Collections.Generic;
public partial class MyClass
{
public MyClass()
{
what I would like is a protected constructor
public partial class MyClass
{
protected MyClass()
{