Im using SelfTrackingChanges and on relationship end "MANY" I havent got CreateSourceQuery() method :/
Is there any way I can achieve that still using SelfTrackingChanges ?
thanks for any help
Only EntityCollection<TEntity> and EntityReference<TEntity> classes override the IRelatedEnd.CreateSourceQuery as they implement IRelatedEnd interface and they both found on the EntityObjects which means you don't have it on your STEs and POCOs. What are you really trying to accomplish?
Related
I'm trying to use the Pocket3D() function. To do this you need to define a Geomtry3D() with the "entList as IFace()" or "Geometry as IFace" constructor.
The idea is to select one or more GBrep.Face and create the Geometry3D() .
My problem is that I have no idea how to get this IFace from GBrep.Face?????
I have no idea what to try. I can't do anything with this iface.
Many Thanks
I have a DataGrid where an additional parameter exists at a DataGridRow. I want to test this parameter with FlaUi. I have already read up a bit on AutomationPeers. As far as I understand you have to create a new AutomationPeer and make the parameter available there. My problem is that the DataGridRowAutomationPeer is seald and I can't derive from it. Does anyone know why MS did this? And is there possibly a simpler variant?
Thanks in advance :-)
I need just some basic help to get me started. I'm doing an assignment for class, and we have to use LINQ method syntax, and I'm really struggling to get anything to work. All I want in this example is to know how to list the Production.SubCategories for a given Production.Category
Any help is greatly appreciated. I just need to get started and I think if I know how to do this I can figure the rest of it out. Online tutorials haven't help me so far...
What you want to do is select a particular property of the ProductCategories model so you can do this:
ProductCategories.Select(pg => pg.ProductSubcategories);
You could also append a .where clause if you wanted to narrow it down
I am trying to implement the answer in this so question
The problem is, that in xamarin forms 2 ingredients do not exist (or I have not found them yet):
Binding.IndexerName
Binding.ProvideValue()
I do not know why they do not exist. Maybe nobody has implemented them, maybe there is a technical reason why they cannot be implemented.
Can I still get the in xamarin forms?
Maybe in another way?
First, note that this answer probably doesn't work with Xamarin.Forms, or at least not with XamlC on.
If you want to get that working, your MarkupExtensions have to implement IMarkupExtension<BindingBase> instead of IMarkupExtension.
ProvideValue() is not defined in the Binding class, but in BindingExtension, but you probably won't win anything by instantiating a BindingExtension and calling ProvideValue on it versus returning the Binding directly.
The IndexerName refers to the IndexerName attribute of the Translator class. As you're not using it, the default is "Item", and you can use that hardcoded value.
How to get the ObjectContext container Class name? without instantiating it like this. ObjectContext context = ((IObjectContextAdapter)db).ObjectContext; ..(4 learning purposes)
I know it is the way to do it http://bit.ly/1t38IPd but i want to learn how to get the name.
Thank you.
I'm not sure if I understood you correctly but you can use this:
string className = variable.GetType().Name
I think this right.
Model.Context.cs in App_Code If you are generating t4. if you are not it should be in Model.Designer.cs row 47.