Skip to content

Instantly share code, notes, and snippets.

@igorkulman
Created June 20, 2013 11:36
Show Gist options
  • Save igorkulman/5822037 to your computer and use it in GitHub Desktop.
Save igorkulman/5822037 to your computer and use it in GitHub Desktop.
[<DataServiceKey("PartitionKey", "RowKey")>]
type LogEntity() =
let mutable partitionKey = ""
let mutable rowKey = ""
let mutable message = ""
let mutable timestamp = DateTime.Now
let mutable severity = ""
member x.PartitionKey with get() = partitionKey and set v = partitionKey <- v
member x.RowKey with get() = rowKey and set v = rowKey <- v
member x.Message with get() = message and set v = message <- v
member x.Timestamp with get() = timestamp and set v = timestamp <- v
member x.Severity with get() = severity and set v = severity <- v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment