public override void AddNewAssociationMethod(DynamicModels collection, dynamic model) { collection.SetMember( "New", new DynamicFunctionWithParam(attributes => { return(EntityFor(model, attributes)); })); }
private void AddNewAssociationMethod(DynamicModels collection, DynamicModel model) { collection.SetMember( "New", new DynamicFunctionWithParam(attributes => { return(EntityFor(attributes)); })); }
public override void AddNewAssociationMethod(DynamicModels collection, dynamic model) { collection.SetMember("New", NewItemDelegate(model)); }
public virtual void AddNewAssociationMethod(DynamicModels collection, dynamic model) { collection.SetMember("New", NewItemDelegate()); }
public virtual void AddRepository(DynamicModels collection, DynamicRepository repository) { collection.SetMember("Repository", repository); }