Search results for query: *

  • Users: Elad
  • Content: Threads
  • Order by date
  1. Elad

    How to use linq with ObservableCollection?

    Hello! I have a problem with ObservableCollection that does not work well with linq's Where function, the ObservableCollection itself contains a class type with properties. I checked with debugger and noticed that in the whole row of the place where the place does not check even one element but...
  2. Elad

    How to initialize a variable of type Interface as empty?

    public Package(Priority priority, Address senderAddress, Address destinationAdress) { PackageID = count++; Priority = priority; Tracking = new List<Tracking>(); SenderAddress = senderAddress; DestinationAddress =...
  3. Elad

    Triggers in sql server

    Hello! How to create trigger on remote server? (Sql server) CREATE TRIGGER [dbo].my_trigger_name ON [ip/ server name].[table_name] AFTER UPDATE AS {sql_statements...}
  4. Elad

    Question How to Create Multiple CheckBox with Data Annotation Inside the View?

    Hello! I have two problems 1: How to create multiple checkboxes and require the user to select at least one checkbox? 2. How do I create within a 'View' using a CheckBoxFor loop with such a requirement? I did not find anything on the internet with such an example but only a standard input box of...
  5. Elad

    Question How to prepare ViewModel for tables from EF when I work with Mata Data Library project?

    Hello I have a problem that I build in a separate project classes that EF creates for me from a SQL server, with two or more tables and I add the refernce to an MVC project so the way Contrlloer knows to associate the object of the table -when the user enters values let's put in boxes Text in a...
  6. Elad

    How to start from a particular element in an array

    hello! I want to build a Merge Sort sort, but I ran into a pretty annoying problem. In C++ or even in C I send an array or pointer to a function the pointer is always pointing to the first member so it is very easy to send to the recursive function the array every time in some member and not...
  7. Elad

    Answered Is object 'SortedSet' intended for primitive variables that are not arrays?

    to example: static SortedSet<int[]> stl = new SortedSet<int[]>(); If I try to add a second member as an array of int I get an error that I should implement an IComparable interface: (A screenshot appears of error below image 1) My question is is it at all correct to work with SortedSet with an...
  8. Elad

    Question about HashSet<int[]>

    Hey! I wanted to find out, is it true to use an entire HashSet array? Or the HashSet object is for certain real things, and not for any array! However, if there is no logical limit whatsoever I wanted to find out how I could anyway HashSet does not need to replicate a repeatable array, I know...
Back
Top Bottom