for future reference: you can use data annotations
MSDN EF – Code First Data Annotations
[NotMapped]
public string AddressAs { get; set; }
More Related Contents:
- Plain Old CLR Object vs Data Transfer Object
- LINQ to Entities case sensitive comparison
- Entity Framework 4 – AddObject vs Attach
- Ignoring a class property in Entity Framework 4.1 Code First
- How can I automatically filter out soft deleted entities with Entity Framework?
- EF Including Other Entities (Generic Repository pattern)
- Entity Framework/Linq EXpression converting from string to int
- Entity Framework/SQL2008 – How to Automatically Update LastModified fields for Entities?
- EF Code First – how to set identity seed?
- Does Entity Framework 4 Code First have support for identity generators like NHibernate?
- Entity Framework/Linq to SQL: Skip & Take
- Entity Framework Code First Lazy Loading
- How to declare one to one relationship using Entity Framework 4 Code First (POCO)
- How to serialize/deserialize simple classes to XML and back
- Entity Framework – Invalid Column Name ‘*_ID”
- Internal .NET Framework Data Provider error 1025
- Entity Framework creates a plural table name, but the view expects a singular table name?
- Entity Framework Code Only error: the model backing the context has changed since the database was created
- EF4 Code First: how to add a relationship without adding a navigation property
- Entity Framework 4: How to find the primary key?
- Entity Framework Code First AddOrUpdate method insert Duplicate values
- How to Specify Primary Key Name in EF-Code-First
- Is it possible to prevent EntityFramework 4 from overwriting customized properties?
- Change db table name in EF4 (entity framework 4)
- Entity Framework: Duplicate Records in Many-to-Many relationship
- Entity Framework Multiple Object Contexts
- Entity Framework Code First naming conventions – back to plural table names?
- The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations
- Repository Pattern, POCO, and Business Entities
- How can set a default value constraint with Entity Framework 6 Code First?