User Profile & Activity

Fabian Höger Member
Posted: March 18, 2015 2:19 PM

This is working. But you have two change operations and server calls now.

 

1. This woul increase incoming traffic on the server. Bad if you have to pay for.

2. If you have two relations you would have to keep three repositories. More relations -> more repositories to keep. You would need more memory.

 

I would expect a more efficent way to get this done. Especially within an enterprise application. The "normal" entitie framework can handle this with just one call.

Posted: March 10, 2015 9:29 AM

Yes, I am using the EditableEntityRepository.

I am getting a foreign key contraint violation. Especially if I add two or more childs.

Should I use another repository? Is there a code sample?

 

Hello,

if the "normal" timer is working on every device, I have not problem with it. But it would be a killer if there are problems with Android and iOS. Even if there is a problem on some Android or iOS devices.

Xamarin.Forms is tested and if there is a problem I can ask Xamarin to fix it. System.Threading will probably not be fixed for Android. That's why I would prefer Xamarin.Forms.

Xamarin.Forms is even much more than just a timer. It would be great if Crosslight could use it. Even with the Enterprise Framework. It should not be a Crosslight OR Xamarin.Forms decision. They should work together like you could see with the MVVM Light Toolkit.

Do you have any plans for that?

Kind regards,

Fabian

Posted: October 16, 2014 7:24 PM

secondRepository.GetAllAsync() is working.

Why does only the async version return the correct result?

Posted: October 15, 2014 9:29 AM

Yes I try to access the Web API with intersoft Entity Data Model.

I have registered the repository and resolve it within the ViewModel.

Count will always be 0. But the table contains record.

var secondRepository = Container.Current.Resolve<ISecondRepository>();
var entires = secondRepository.GetAll().Count;

What steps do I have do proceed to register and use the repositories?

Thank you Hans,

Visual Studio 2013 Update 3 was missing.
After deleting the CrosslightDb.mdf everything is working as expected.

Why do I have to delete the database? Seems like I have to delete it every time.
Would it be better to use a real sql database?

Kind regards,
Fabian

All times are GMT -5. The time now is 3:31 AM.
Previous Next