A customer can have multiple accounts, each account has multiple notes. On my Customer View, I want to see all the notes from all the accounts.
I have the following Objects:
Read more
Write a Custom SQL Query Using Entity Framework
In order to write custom SQL queries first, we need to create a class to hold the results.
public class CustomerBalance { ...
Custom Exception Using Enumerator Instead of String
base can only call static methods
Read more
namespace MyCustomApp { public class InvalidReportOperationException : Exception { public InvalidReportOperationException(InvalidReportOpertaionOptions option, int? id ) : base(MessageGenerator(option,id)) { ...
Iterate through files and folders in directory
C# How to iterate to files and folders in a directory
Extracted from https://msdn.microsoft.com/en-us/library/bb513869.aspxpublic class StackBasedIteration { static void Main(string[] args) { // Specify the starting folder on the...