Straight It solutions
My archive of working solutions of programming problems
2021/11/12
2021/10/18
How to prevent exposed collection to be modified by client / consumer class ?
Use Immutables such as record, ImmutableList<> from .NET Core 5.0 > or look at below example
2021/09/09
Custom immutable class MoneyAmmount using class Immutable
Warrning:
If u want to publish in your class some collection property u should use Immutable
2021/04/22
How to get procedure name from sql script using regular expressions ?
public class ProcedureNameProvider : SqlObjectNameProvider
{
protected override string RegExPattern => @"((?!PROCEDURE).)*[\s]+PROCEDURE(\s*)(?