NSEntityDescription.InsertNewObjectForEntityForName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a new into the specified managed object context
and keys it with the specified entityName
.
[Foundation.Export("insertNewObjectForEntityForName:inManagedObjectContext:")]
public static Foundation.NSObject InsertNewObjectForEntityForName (string entityName, CoreData.NSManagedObjectContext context);
static member InsertNewObjectForEntityForName : string * CoreData.NSManagedObjectContext -> Foundation.NSObject
Parameters
- entityName
- String
- context
- NSManagedObjectContext
Returns
- Attributes