|
by: Rein Petersen |
last post by:
Hi all,
I'm toying with reflection to try and build a recursive function that
generates treenodes of a treeview that represent any given object's
graph (of child objects):
public TreeNode BuildNode(ref object o)
{
TreeNode tn;
treenode.Tag = o;
|
by: Rein Petersen |
last post by:
Hi all,
I'm toying with reflection to try and build a recursive function that
generates treenodes of a treeview that represent any given object's
graph (of child objects):
public TreeNode BuildNode(ref object o)
{
TreeNode tn;
treenode.Tag = o;
|
by: wbekker |
last post by:
Hi,
I'm searching for a good pattern for the following problem:
In a large object tree, all object implement a property called IsDirty.
That flag is set when a property is modified. If a child object is
dirty, the parent object must return IsDirty = true as well. This works.
I now want to have an event on the root object of the tree, that signals
when one object in the tree is set to dirty. What is a good approach for
|
by: STom |
last post by:
Ok, if I have a class:
Public Class MyXClass
Public Property X as Integer
.....
End Class
In my code if I have two instances of this class:
Dim myX1 as new MyXClass
|
by: Lucile |
last post by:
Hi to All, I am new to this newsgroup, so please bare with me.
Here is the deal:
I have the following Object Graph:
Icell (Interface)
Iline (Interface)
Itable (Interface)
Classes: Cell: implements Icell
Line: inherits Arraylist
Implements Iline
|
|
by: Creativ |
last post by:
After reading the article (Jeffrey's) about GC, I wonder how to build
a object graph to see what object is still alive and if so which
object is referring to them.
This is also important in practice. Since in a application where large
scale computation is going on, it's important to know which object are
kept alive incidently.
I've seen CLR profiler. But I wonder if I can build something myself
simular.
|
by: BeSharp |
last post by:
I recently stumbled across a pretty interesting LINQ to SQL question and
wonder, whether anybody might have an answer. (I'm doing quite some
increasing LINQ evangelism down here in Germany.).
Assume I want to select rows from a database and check whether a specific
column contains keywords from a list of keywords. The following works just
fine:
List<stringsearchTerms = new List<string>() { "Maria",
"Pedro" };
|
by: fredd00 |
last post by:
Hi,
i'm trying to use lazy loading with Linq to sql and related objects
seems like you can only call the child object if the context is still
open, this is not real lazy loading.
here is my actual implementation
my class product has a categories collection (using a one-to-many
relation in .dbml)
|
by: CSharper |
last post by:
I would like know, will it be possible to run a linq statement
generated on the fly by a program?
Lets say, I have string like the following
string t = "from c in doc.Decentents('Value') select c";
Is there anyway I would able to run this?
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|