c# Programming Glossary: lastupdated
Can you convince a DataContext to treat a column as always dirty? http://stackoverflow.com/questions/1560513/can-you-convince-a-datacontext-to-treat-a-column-as-always-dirty for illustration cust.SomeRandomProperty 17 whatever cust.LastUpdated DateTime.UtcNowl cust.UpdatedBy currentUser ctx.SubmitChanges.. be roughly UPDATE dbo . Customers SET SomeRandomColumn @p0 LastUpdated @p1 note no UpdatedBy WHERE Id @p2 AND Version @p3 In my case..
Overriding a property with an attribute http://stackoverflow.com/questions/592671/overriding-a-property-with-an-attribute like this Serializable public class Record public DateTime LastUpdated get set other useful properties ... public class EmployeeRecord.. Now I want to serialize EmployeeRecord. I don't want the LastUpdated property from the Record class to be serialized. I do want LastUpdated.. property from the Record class to be serialized. I do want LastUpdated to be serialized when I serialize Record though . First I tried..
|