NSEntityDescription.InsertNewObject(String, NSManagedObjectContext) 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.
[Foundation.Export("insertNewObjectForEntityForName:inManagedObjectContext:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreData.NSManagedObject InsertNewObject(string entityName, CoreData.NSManagedObjectContext context);
[<Foundation.Export("insertNewObjectForEntityForName:inManagedObjectContext:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member InsertNewObject : string * CoreData.NSManagedObjectContext -> CoreData.NSManagedObject
Parameters
- entityName
- String
- context
- NSManagedObjectContext
Returns
- Attributes