Edit

Share via


NSEntityDescription.InsertNewObjectForEntityForName Method

Definition

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

Returns

Attributes

Applies to