8:30 - Breakfast
9:30 - Learning Time (Reading, flashcards, green pack...)
10:30 - Movement Time (Go Noodle or yoga)
11:00 - Creative Activity (Coloring, painting, craft...)
{"version":1,"resource":"file:///d%3A/code/nw/northwell-gigya-tools/tests/readme.md","entries":[{"id":"kf9V.md","timestamp":1661780891576}]} |
$("tr:visible").each(function (index) { | |
$(this).css("background-color", !!(index & 1) ? "rgba(0,0,0,0)" : "rgba(0,0,0,.05)"); | |
}); |
using BusinessLogic.Utilities.Interfaces; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using BusinessLogic.Logging; |
<?xml version="1.0" encoding="utf-8"?> | |
<RunSettings> | |
<!-- Configurations that affect the Test Framework --> | |
<RunConfiguration> | |
<MaxCpuCount>1</MaxCpuCount> | |
<!-- Path relative to solution directory --> | |
<ResultsDirectory>.\TestResults</ResultsDirectory> | |
<!-- x86 or x64 --> | |
<!-- You can also change it from menu Test > Test Settings > Default Processor Architecture --> |
public Mock<IService> DefaultService() | |
{ | |
var mock = new Mock<IService>(); | |
mock.Setup(x => x.MyMethod(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>())) | |
.Returns<string, string, string>((typeName, comments, updatedBy) => Task.Run(() => | |
new MyType | |
{ | |
TypeName = typeName, | |
Comments = comments, | |
UpdatedBy = updatedBy |
//ASYNC | |
[TestMethod] | |
public void GetTypesByName_WhenNoNameProvided_ThrowsArgumentException() | |
{ | |
//Arrange | |
var builder = new TypeServiceBuilder(); | |
var service = builder.Build(); | |
//Act | |
Func<Task> call = async () => await service.GetTypesByName(null); |
declare @tableName varchar(200) | |
declare @columnName varchar(200) | |
declare @nullable varchar(50) | |
declare @datatype varchar(50) | |
declare @maxlen int | |
declare @sType varchar(50) | |
declare @sProperty varchar(200) | |
DECLARE table_cursor CURSOR FOR |
public override int SaveChanges() | |
{ | |
var changed = ChangeTracker.Entries() | |
.Where(e => e.State == EntityState.Modified || e.State == EntityState.Added); | |
foreach (var item in changed) | |
{ | |
if (item.Entity is IReadOnlyEntity) | |
{ | |
item.State = EntityState.Unchanged; |