public void CreateSourceObject(CreateSourceObjectEventArgs args) { if (args.ItemType == ItemType.AppointmentItem) { args.Instance = new AppointmentEntity(); } }
private void SchedulerDataStorage1_CreateSourceObject(object sender, CreateSourceObjectEventArgs e) { // Das Resultat hier sollte ein neues leeres Objekt vom eigenen // persistenten Typ sein. e.SourceObject = new Event(); }