Page 1 of 1

ORMLite in Plugins

PostPosted: Fri Oct 05, 2018 5:45 pm
by SBarnes
Hi Mike,

A while ago I asked you about using ORMLite in a normal plugin which is here https://forums.jiwa.com.au/viewtopic.php?f=26&t=783&p=2787&hilit=ormlite#p2787, if you want to use any tables that are not standard Jiwa tables but have been defined created by the T4 templates such as

Code: Select all
      [Alias("HOS_CN_Logins")]
    public partial class HOS_CN_Login
    {
        [Required]
        public string LoginCode { get; set; }
        [Required]
        public DateTime LastLoginDateTime { get; set; }
        [Required]
        public DateTime PasswordExpiry { get; set; }
    }


I am assuming these will work as well provided they are declared in the plugin and are in appropriate name space?

Re: ORMLite in Plugins  Topic is solved

PostPosted: Tue Nov 27, 2018 11:06 am
by Mike.Sheen
Yes.