Features | CT | CDC | Temporal |
---|---|---|---|
Tracks Data Changes | Yes | Yes | Yes |
Tracking mechanism | Synchronous | Asynchronous | Synchronous |
Require enabling at Database Level | Yes | Yes | No |
Require enabling at Table Level | Yes | Yes | Yes |
Historical Data retention | No | Yes | Yes |
Ability to Recover data from history | No | Yes | Yes |
Requires change in current code | Yes | Yes | No |
Table requires primary Key | Yes | Yes | Yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using System.Text; | |
namespace EFExtensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Something in lines of http://stackoverflow.com/questions/348630/how-can-i-download-all-emails-with-attachments-from-gmail | |
# Make sure you have IMAP enabled in your gmail settings. | |
# Right now it won't download same file name twice even if their contents are different. | |
import email | |
import getpass, imaplib | |
import os | |
import sys | |
detach_dir = '.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable, Inject } from "@angular/core"; | |
import { NgbDateParserFormatter, NgbDateStruct } from "@ng-bootstrap/ng-bootstrap"; | |
import * as moment from 'moment'; | |
@Injectable() | |
export class NgbDateCustomParserFormatter extends NgbDateParserFormatter { | |
private dformat : string; | |
constructor(@Inject('dateFormat') df: string) { | |
super(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<log4net debug="true"> | |
<root> | |
<level value="DEBUG" /> | |
<appender-ref ref="AdoNetAppender"/> | |
<appender-ref ref="S3Appender"/> | |
</root> | |
<appender name="S3Appender" type="log4net.Appender.RollingFileS3Appender, log4net.Appender.AWS"> | |
<param name="BucketName" value="logs-jcbapostas" /> | |
<param name="LogDirectory" value="log-diagnostics" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Autofac; | |
using Hangfire; | |
using StackExchange.Redis; | |
using StackExchange.Redis.Extensions.Core; | |
using StackExchange.Redis.Extensions.MsgPack; | |
using System; | |
using System.Configuration; | |
using System.Runtime.Caching; | |
namespace TestApp02.Utility | |
{ |