Compartilhar via


NSEntityDescription.InsertNewObjectForEntityForName Método

Definição

Insere um novo no objeto context gerenciado especificado e o tecla com o especificado entityName.

[Foundation.Export("insertNewObjectForEntityForName:inManagedObjectContext:")]
public static Foundation.NSObject InsertNewObjectForEntityForName (string entityName, CoreData.NSManagedObjectContext context);
static member InsertNewObjectForEntityForName : string * CoreData.NSManagedObjectContext -> Foundation.NSObject

Parâmetros

entityName
String

Retornos

Atributos

Aplica-se a