in tutorial: https://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application theres part code this:
public class schoolinitialzier : system.data.entity, dropcreatedatabasemodelchanges<schoolcontext>
it gives me these errors:
system.data.entity namespace used type. type or namespace name dropcreatedatabasemodelchanges not found
what mean when inherit way? correct? why msft tutorial telling me it? proper way trying achieve?
thanks
you have typo ,
comma
system.data.entity.dropcreatedatabasemodelchanges<schoolcontext>
if implementing 2 interfaces have comma
public class foo : iidentity, iknowskungfoo
Comments
Post a Comment