24243

LINQ to SQL Unmapped Property

Is it possible to add a custom property in the designer and have it not bound to a column? I fiddled with the settings a bit settled on making a partial class with the property. Is there a way to show this field in the ORM designer?

Answer1:

The LINQ-to-SQL designer is maintaining the mapping. Unmapped properties need to go in a separate partial class.

Answer2:

In the Designer, right click on the Object Properties header and Add => Property.

Recommend

  • Placing the PHP application folder above public_html
  • Determining the radius of turtle clusters and number of turtles in them - postprocessing
  • Exposing array-like data structure using properties
  • Acitivity Two starts before Main Activity
  • Set User Control's default event
  • jQuery ajax security
  • Azure table query partial partitionkey guid match
  • uml Composition relationships to RDF and OWL
  • Azure table store snapshot/backup capability
  • Implementing “partial void” in VB
  • xtable package: Skipping some rows in the output
  • how to save the state in userdefaults of accessory checkmark-iphone
  • Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?
  • How to get Eclipse Oxygen to run on Java 9
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Allowing both email and username for authentication
  • Database structure design with variable amounts of fields
  • NHibernate Validation Localization with S#arp Architecture
  • Get one-time binding to work for ng-if
  • Change JButton Shape while respecting Look And Feel
  • Retrieving value from sql ExecuteScalar()
  • How do I fake an specific browser client when using Java's Net library?
  • Bug in WPF DataGrid
  • How to get a value (ex: baseURL) in every Karate feature?
  • javascript inside java/jsp code
  • Sending data from AppleScript to FileMaker records
  • Redux, normalised entities and lodash merge
  • How do you troubleshoot character encoding problems?
  • XCode can't find symbols for a specific iOS library/framework project
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • Hits per day in Google Big Query
  • how does django model after text[] in postgresql [duplicate]
  • Java static initializers and reflection
  • unknown Exception android
  • Checking variable from a different class in C#
  • Django query for large number of relationships
  • Observable and ngFor in Angular 2
  • Unable to use reactive element in my shiny app